Skip to content

Commit deb0ec9

Browse files
authored
Merge pull request #141 from mboersma/bespoke-helm-client
Build helm client from source
2 parents 84e0e81 + be25536 commit deb0ec9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV AZCLI_VERSION=2.0.46 \
66
GO_VERSION=1.11.2 \
77
GLIDE_VERSION=v0.13.1 \
88
GLIDE_HOME=/root \
9-
HELM_VERSION=v2.6.0 \
9+
HELM_VERSION=v2.12.0 \
1010
KUBECTL_VERSION=v1.9.6 \
1111
SHELLCHECK_VERSION=v0.4.6 \
1212
ETCDCTL_VERSION=v3.1.8 \
@@ -59,8 +59,11 @@ RUN \
5959
&& rm /tmp/protoc.zip \
6060
&& curl -sSL https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
6161
&& chmod +x /usr/local/bin/kubectl \
62-
&& curl -sSL https://storage.googleapis.com/kubernetes-helm/helm-$HELM_VERSION-linux-amd64.tar.gz \
63-
| tar -vxz -C /usr/local/bin --strip=1 \
62+
&& mkdir -p $GOPATH/src/k8s.io/helm \
63+
&& curl -sSL https://github.com/helm/helm/archive/$HELM_VERSION.tar.gz \
64+
| tar -vxz -C $GOPATH/src/k8s.io/helm --strip=1 \
65+
&& cd $GOPATH/src/k8s.io/helm && make bootstrap build \
66+
&& cp ./bin/* /usr/local/bin && cd && rm -rf $GOPATH/src/k8s.io/helm \
6467
&& mkdir -p /go/bin \
6568
&& curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh \
6669
&& wget https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod/pool/main/a/azcopy/azcopy_7.2.0-netcore_ubuntu16.04_x64.deb \

0 commit comments

Comments
 (0)