|
|
@ -5,6 +5,12 @@ RUN apk add -U --no-cache openssl
|
|
|
|
|
|
|
|
|
|
|
|
# download and install kubectl
|
|
|
|
# download and install kubectl
|
|
|
|
ARG KUBECTL_VERSION
|
|
|
|
ARG KUBECTL_VERSION
|
|
|
|
|
|
|
|
|
|
|
|
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/bin/kubectl \
|
|
|
|
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
|
|
|
|
&& chmod +x /usr/bin/kubectl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|