-
Notifications
You must be signed in to change notification settings - Fork 60
/
Dockerfile
27 lines (21 loc) · 878 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 <lachlan.evenson@gmail.com>"
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="v3.1.2"
RUN apk add --update ca-certificates \
&& apk add --update -t deps wget git openssl bash \
&& wget -q https://get.helm.sh/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"]