Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the helm downloading script error in the CI pipeline.
[it/dep.git]
/
ci
/
Dockerfile
diff --git
a/ci/Dockerfile
b/ci/Dockerfile
index
c1080e0
..
235b267
100644
(file)
--- a/
ci/Dockerfile
+++ b/
ci/Dockerfile
@@
-15,13
+15,11
@@
# limitations under the License.
#
##############################################################################
# limitations under the License.
#
##############################################################################
-
FROM ubuntu:18.04
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
# 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
RUN helm init -c --skip-repos
ARG TGT=/tmp/it-dep
COPY . $TGT