Skip to content

Instantly share code, notes, and snippets.

@carolynvs
Created March 2, 2019 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carolynvs/2bb79c20097e54199c6077696175c562 to your computer and use it in GitHub Desktop.
Save carolynvs/2bb79c20097e54199c6077696175c562 to your computer and use it in GitHub Desktop.
Publish Helm Charts to Azure
FROM golang:1.12-stretch
WORKDIR /tmp
# Install Helm
ENV HELM_VERSION=2.13.0
RUN curl -sLO https://kubernetes-helm.storage.googleapis.com/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
tar -zxvf helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
mv linux-amd64/helm /usr/local/bin/
# Install a tiny azure client
ENV AZCLI_VERSION=v0.3.1
RUN curl -sLo /usr/local/bin/az https://github.com/carolynvs/az-cli/releases/download/$AZCLI_VERSION/az-linux-amd64 && \
chmod +x /usr/local/bin/az
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment