Further improved curl and wget install 43/6643/1
authorBjornMagnussonXA <bjorn.magnusson@est.tech>
Wed, 1 Sep 2021 10:58:22 +0000 (12:58 +0200)
committerBjornMagnussonXA <bjorn.magnusson@est.tech>
Wed, 1 Sep 2021 10:58:31 +0000 (12:58 +0200)
Issue-ID: NONRTRIC-573

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I3f51b966ed7c7d63dee95d6ccd41925ecf39e053

helm-manager/Dockerfile

index 2b1536f..c7de28a 100644 (file)
@@ -20,7 +20,7 @@ FROM openjdk:11-jre-slim
 ARG JAR
 
 #Install curl and wget
-RUN apt-get upgrade && apt-get update && apt-get install -y curl wget
+RUN apt-get update && apt-get install -y --no-install-recommends curl wget && rm -rf /var/lib/apt/lists/*
 
 #Install helm
 RUN wget -O helm.tar.gz https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz