-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
36 lines (30 loc) · 1.17 KB
/
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
28
29
30
31
32
33
34
35
36
############################################################
# Dockerfile
############################################################
# Set the base image
FROM alpine:3.8
############################################################
# Configuration
############################################################
ENV VERSION "2.14.1"
ENV FILENAME=helm-v${VERSION}-linux-amd64.tar.gz
############################################################
# Entrypoint
############################################################
COPY rootfs /
############################################################
# Installation
############################################################
RUN apk add --no-cache ca-certificates bash git curl tar gzip coreutils &&\
# Install Helm
curl -L http://storage.googleapis.com/kubernetes-helm/${FILENAME}> ${FILENAME} &&\
tar zxv -C /tmp -f ${FILENAME} &&\
rm -f ${FILENAME} &&\
mv /tmp/linux-amd64/helm /bin/helm &&\
# Plugins
helm init --client-only
############################################################
# Execution
############################################################
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD ["helm", "--help"]