Skip to content

Commit 5bc9d32

Browse files
committed
feat(Dockerfile): add helm to the image
1 parent a414521 commit 5bc9d32

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ creating [issues][] and submitting [pull requests][].
1515
* [glide][]: go dependency management
1616
* [golint][]: go source code linter
1717
* [gox][]: simple go cross-compiling tool
18+
* [helm][]: Kubernetes package manager
1819
* [jq][]: command-line JSON processor
1920
* [kubectl][]: Kubernetes command-line client
2021
* [shellcheck][]: static analysis for shell scripts
@@ -55,6 +56,7 @@ The latest deis/go-dev Docker image is available at:
5556
[Go]: https://golang.org/
5657
[golint]: https://github.com/golang/lint
5758
[gox]: https://github.com/mitchellh/gox
59+
[helm]: https://github.com/kubernetes/helm
5860
[issues]: https://github.com/deis/docker-go-dev/issues
5961
[jq]: https://stedolan.github.io/jq/
6062
[kubectl]: https://kubernetes.io/docs/user-guide/kubectl-overview/

rootfs/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM quay.io/deis/base:v0.3.6
33
ENV GO_VERSION=1.8.3 \
44
GLIDE_VERSION=v0.12.3 \
55
GLIDE_HOME=/root \
6+
HELM_VERSION=v2.4.2 \
67
KUBECTL_VERSION=v1.6.4 \
78
SHELLCHECK_VERSION=v0.4.6 \
89
PATH=$PATH:/usr/local/go/bin:/go/bin:/usr/local/bin/docker \
@@ -32,6 +33,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
3233
&& rm /tmp/protoc.zip \
3334
&& curl -sSL https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
3435
&& chmod +x /usr/local/bin/kubectl \
36+
&& curl -sSL https://storage.googleapis.com/kubernetes-helm/helm-$HELM_VERSION-linux-amd64.tar.gz \
37+
| tar -vxz -C /usr/local/bin --strip=1 \
3538
&& apt-get purge -y --auto-remove \
3639
unzip \
3740
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)