drone-kubernetes/Dockerfile

9 lines
368 B
Docker
Raw Normal View History

2017-01-13 10:07:48 +00:00
FROM alpine
2017-02-08 06:04:53 +00:00
RUN apk -Uuv add curl ca-certificates bash
2017-01-13 10:07:48 +00:00
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
2017-02-08 06:04:53 +00:00
CMD bash -c /bin/update.sh