From 5973017d808ac3b7c7d2d6104690a320abf2596b Mon Sep 17 00:00:00 2001 From: kokadva Date: Wed, 8 Nov 2023 12:20:43 +0400 Subject: [PATCH] Update Dockerfile --- docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f8ee83c..1c7b460 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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