1
0
This repository has been archived on 2020-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
docker-cloud-sdk/Dockerfile

22 lines
781 B
Docker
Raw Normal View History

2018-08-24 12:09:28 +00:00
ARG BASE_IMAGE=google/cloud-sdk:latest
FROM $BASE_IMAGE
2018-11-27 08:33:12 +00:00
RUN apk add -U --no-cache openssl jq
2018-08-24 12:12:11 +00:00
# download and install kubectl
ARG KUBECTL_VERSION
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/bin/kubectl \
&& chmod +x /usr/bin/kubectl
2018-08-26 11:45:24 +00:00
2018-12-06 20:47:04 +00:00
# install mozilla sops
ARG SOPS_VERSION
RUN curl -L https://github.com/mozilla/sops/releases/download/$SOPS_VERSION/sops-$SOPS_VERSION.linux -o /usr/bin/sops \
&& chmod +x /usr/bin/sops
2018-08-26 11:45:24 +00:00
ARG HELM_VERSION
RUN curl -LO https://storage.googleapis.com/kubernetes-helm/helm-$HELM_VERSION-linux-amd64.tar.gz \
&& tar xfvz helm-$HELM_VERSION-linux-amd64.tar.gz \
&& mv linux-amd64/helm /usr/bin/helm \
&& rm -rf linux-amd64 #\
&& rm helm-$HELM_VERSION-linux-amd64.tar.gz