-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathDockerfile
27 lines (21 loc) · 907 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM alpine
LABEL maintainer="Lachlan Evenson <[email protected]>"
ARG VCS_REF
ARG BUILD_DATE
# Metadata
LABEL org.opencontainers.image.title="lachlanevenson/k8s-helm" \
org.opencontainers.image.url="https://helm.sh/docs/" \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/lachie83/k8s-helm" \
org.opencontainers.image.created=$BUILD_DATE
ENV HELM_LATEST_VERSION="v2.16.11"
RUN apk add --update ca-certificates \
&& apk add --update -t deps wget git openssl bash \
&& wget -q https://storage.googleapis.com/kubernetes-helm/helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \
&& tar -xf helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \
&& mv linux-amd64/helm /usr/local/bin \
&& apk del --purge deps \
&& rm /var/cache/apk/* \
&& rm -f /helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz
ENTRYPOINT ["helm"]
CMD ["help"]