X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm-manager%2FDockerfile;h=c7de28a5799eab830fd9003d454cb866eeca9e67;hb=4def8fe803c7e2884353315dc7c099bbed2464db;hp=b9283c09fd82c67a562d3641412b461b5f8cc69e;hpb=31b09880413a8708a5ecfbd4ad83a91a01661892;p=nonrtric.git diff --git a/helm-manager/Dockerfile b/helm-manager/Dockerfile index b9283c09..c7de28a5 100644 --- a/helm-manager/Dockerfile +++ b/helm-manager/Dockerfile @@ -19,14 +19,13 @@ FROM openjdk:11-jre-slim ARG JAR -#Install curl -RUN apt-get update -RUN apt-get install -y curl +#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 curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 -RUN chmod 700 get_helm.sh -RUN ./get_helm.sh +RUN wget -O helm.tar.gz https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz +RUN tar -zxvf helm.tar.gz +RUN mv linux-amd64/helm /usr/local/bin/helm #Install kubectl and configure RUN curl -LO https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl