Created
October 7, 2019 04:37
-
-
Save owensengoku/5e36e16285d04505f13cf19cbd147d04 to your computer and use it in GitHub Desktop.
Demo Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM kindest/node:v1.13.4 | |
RUN apt-get update \ | |
&& apt-get install -y dnsutils iputils-ping \ | |
&& apt-get install -y make gcc musl-dev golang-go libzmqpp-dev | |
ENV GOPATH /go | |
RUN go version | |
ARG HELM_VERSION=v2.10.0 | |
ARG FILENAME=helm-${HELM_VERSION}-linux-amd64.tar.gz | |
ARG HELM_URL=https://storage.googleapis.com/kubernetes-helm/${FILENAME} | |
RUN echo $HELM_URL | |
RUN mkdir -p /tmp/helm && curl -o /tmp/helm/$FILENAME ${HELM_URL} \ | |
&& tar -zxvf /tmp/helm/${FILENAME} -C /tmp/helm \ | |
&& mv /tmp/helm/linux-amd64/helm /usr/local/bin/helm \ | |
&& rm -rf /tmp/helm | |
RUN helm init --client-only | |
ENV PATH "/go/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment