From 4def8fe803c7e2884353315dc7c099bbed2464db Mon Sep 17 00:00:00 2001 From: Muhammad Rehan Raza Date: Mon, 6 Sep 2021 09:50:30 +0000 Subject: [PATCH] Revert "Skip installation of curl in helm-manager" This reverts commit d06d6a3f1454231ac9fa7304f22a0c2f3f246e13. Reason for revert: The "apt-get update" still fails after this change. Issue-ID: NONRTRIC-573 Change-Id: I0ea4a8ef0de695778c06e5e505940e85c3001dce Signed-off-by: RehanRaza --- helm-manager/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm-manager/Dockerfile b/helm-manager/Dockerfile index a70af54f..c7de28a5 100644 --- a/helm-manager/Dockerfile +++ b/helm-manager/Dockerfile @@ -19,8 +19,8 @@ FROM openjdk:11-jre-slim ARG JAR -#Install wget -RUN apt-get update && apt-get install -y wget +#Install curl and 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 @@ -28,7 +28,7 @@ RUN tar -zxvf helm.tar.gz RUN mv linux-amd64/helm /usr/local/bin/helm #Install kubectl and configure -RUN wget https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl +RUN curl -LO https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl RUN chmod +x ./kubectl -- 2.16.6