Enabling helm3 & kubernetes 1.18 for RIC in shell scripts without breaking existing...
[it/dep.git] / ci / Dockerfile
index bd60013..c1080e0 100644 (file)
 ##############################################################################
 
 FROM ubuntu:18.04
-RUN apt-get update && apt-get -y install curl
-RUN curl -L https://git.io/get_helm.sh | bash
-RUN helm init -c
+RUN apt-get update && apt-get -y install curl ca-certificates
+ARG GH=get_helm.sh
+# 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 helm init -c --skip-repos
 ARG TGT=/tmp/it-dep
 COPY . $TGT
 RUN $TGT/bin/verify-ric-charts