From 2eca1ba1f74f5bc42403ed353314b3f07e0e60ec Mon Sep 17 00:00:00 2001 From: Vyshakh P Date: Mon, 1 Oct 2018 16:35:53 +0530 Subject: [PATCH] Create Dockerfile --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c03c9da --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM alpine:3.4 + +MAINTAINER Vyshakh P + +ENV KUBE_LATEST_VERSION=v1.10.7 +ENV HELM_VERSION=v2.10.0 +ENV HELM_FILENAME=helm-${HELM_VERSION}-linux-amd64.tar.gz + + +RUN apk add --update ca-certificates \ + && apk add --update -t deps curl \ + && apk add --update gettext tar gzip \ + && apk update && apk upgrade \ + && apk add --no-cache bash git openssh \ + && curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \ + && curl -L https://storage.googleapis.com/kubernetes-helm/${HELM_FILENAME} | tar xz && mv linux-amd64/helm /bin/helm && rm -rf linux-amd64 \ + && chmod +x /usr/local/bin/kubectl \ + && apk del --purge deps \ + && rm /var/cache/apk/* + +CMD ["helm"]