forked from heartysoft/docker-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfileHelm
More file actions
18 lines (16 loc) · 892 Bytes
/
DockerfileHelm
File metadata and controls
18 lines (16 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM heartysoft/docker-builder-aws:latest
ENV KUBE_VERSION=1.10.0 \
HELM_VERSION=2.8.2
RUN apk update \
&& apk add grep \
&& mkdir -p /tmp/helm \
&& curl -LO https://storage.googleapis.com/kubernetes-release/release/v${KUBE_VERSION}/bin/linux/amd64/kubectl \
&& chmod +x ./kubectl \
&& mv ./kubectl /usr/bin/kubectl \
&& curl https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar -xzv -C /tmp/helm \
&& mv /tmp/helm/linux-amd64/helm /usr/bin/helm \
&& curl https://raw.githubusercontent.com/heartysoft/cloud-toolkit/$HSFT_CLOUD_TOOLKIT_VERSION/helm/helm-functions.sh -o /usr/bin/helm-functions.sh \
&& curl https://raw.githubusercontent.com/heartysoft/cloud-toolkit/$HSFT_CLOUD_TOOLKIT_VERSION/helm/kubernetes-functions.sh -o /usr/bin/kubernetes-functions.sh \
&& rm -rf /tmp/helm \
&& rm -rf /var/cache/apk/* \
&& rm -rf /root/.cache