Last active
January 14, 2018 14:13
-
-
Save radu-matei/d9351e4cfcb634275620deba15350290 to your computer and use it in GitHub Desktop.
This file contains 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 ubuntu:16.04 | |
LABEL maintainer Radu Matei <matei.radu94@gmail.com> | |
# Versions of kubectl and helm | |
ENV KUBE_VERSION="v1.8.0" | |
ENV HELM_VERSION="v2.6.2" | |
RUN apt-get update && apt-get install -y \ | |
curl | |
# Download and install kubectl | |
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBE_VERSION}/bin/linux/amd64/kubectl | |
RUN chmod +x ./kubectl | |
RUN mv ./kubectl /usr/local/bin/kubectl | |
# Download and install helm | |
RUN curl -LO https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz | |
RUN tar -xvf helm-${HELM_VERSION}-linux-amd64.tar.gz | |
RUN mv linux-amd64/helm /usr/local/bin | |
# Expose port for kubectl proxy - if you want to use it locally | |
# EXPOSE 8080 | |
ENTRYPOINT ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment