Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kokadva authored Nov 8, 2023
1 parent c28e5da commit 5973017
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ ARG scalaversion=2.13
ARG kafkaurl=https://archive.apache.org/dist/kafka/$kafkaversion/kafka_${scalaversion}-${kafkaversion}.tgz
WORKDIR /app

RUN apt update
RUN apt install -y --no-install-recommends wget
RUN apt-get update
RUN apt-get install -y --no-install-recommends wget
RUN wget ${kafkaurl} -O kafka.tgz
RUN tar xvzf kafka.tgz
RUN mv kafka_${scalaversion}-${kafkaversion} kafka
RUN apt remove -y wget
RUN apt autoremove -y
RUN apt-get remove -y wget
RUN apt-get autoremove -y
RUN rm -rf /var/lib/apt/lists/*
RUN rm kafka.tgz

Expand Down

0 comments on commit 5973017

Please sign in to comment.