1
0
Fork 0
mirror of https://github.com/honestbee/drone-kubernetes.git synced 2025-05-13 02:13:17 +00:00
drone-kubernetes/Dockerfile
Charles Martinot 4490e740d3 First version
2017-01-13 18:07:48 +08:00

8 lines
355 B
Docker

FROM alpine
RUN apk -Uuv add curl ca-certificates
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin/kubectl
ADD update.sh /bin/
RUN chmod +x /bin/update.sh
CMD /bin/update.sh