1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

11 lines
307 B
Docker

ARG BASE_IMAGE=google/cloud-sdk:latest
FROM $BASE_IMAGE
RUN apk add -U --no-cache openssl
# 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