From: Zhe Date: Fri, 23 Apr 2021 14:10:26 +0000 (-0400) Subject: Fix the helm downloading script error in the CI pipeline. X-Git-Tag: f-release~56 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=commitdiff_plain;h=9558fc2dbf36a5cec2a41ec63ddbf35ebe38161b Fix the helm downloading script error in the CI pipeline. Signed-off-by: Zhe Change-Id: Ib91efd3b03a2576dc653abc6294f8b88e968de23 --- diff --git a/ci/Dockerfile b/ci/Dockerfile index c1080e04..235b2671 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -15,13 +15,11 @@ # limitations under the License. # ############################################################################## - FROM ubuntu:18.04 -RUN apt-get update && apt-get -y install curl ca-certificates -ARG GH=get_helm.sh +RUN apt-get update && apt-get -y install curl ca-certificates wget +ARG HELMVERSION=v2.17.0 # often times out during LF jenkins build -RUN curl --silent --show-error --connect-timeout 10 --retry 6 -L https://raw.githubusercontent.com/helm/helm/master/scripts/get -o ${GH} -RUN bash ${GH} +RUN wget https://get.helm.sh/helm-${HELMVERSION}-linux-amd64.tar.gz && tar -xvf ../helm-${HELMVERSION}-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin/helm RUN helm init -c --skip-repos ARG TGT=/tmp/it-dep COPY . $TGT