SHARE
TWEET

Untitled

a guest Nov 13th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM dr.omnicomm.ru/devops/kubedeploy/docker:19.03.3-dind
  2.  
  3. LABEL maintainer="Nikita Gorlov"
  4.  
  5. ENV KUBECTL_VERSION=v1.16.1
  6. ENV HELM_VERSION=v2.14.3
  7. ENV HELM_FILENAME=helm-${HELM_VERSION}-linux-amd64.tar.gz
  8.  
  9. RUN apk add -U openssl curl tar gzip bash ca-certificates git && \
  10. wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
  11. wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk && \
  12. apk add glibc-2.29-r0.apk && rm glibc-2.29-r0.apk && \
  13. curl https://kubernetes-helm.storage.googleapis.com/${HELM_FILENAME} | tar zx && \
  14. mv linux-amd64/helm /usr/bin/ && \
  15. curl -L -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
  16. chmod +x /usr/bin/kubectl && mkdir -p $HOME/.kube
  17.  
  18. COPY config.json /root/.docker/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top