1
0
Fork 0
mirror of https://github.com/honestbee/drone-kubernetes.git synced 2025-05-27 18:33:18 +00:00
drone-kubernetes/Dockerfile
2018-09-28 19:30:07 +02:00

6 lines
343 B
Docker

FROM alpine:3.4
RUN apk --no-cache add curl ca-certificates bash
RUN curl -Lo /usr/local/bin/kubectl 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 /usr/local/bin/kubectl
COPY update.sh /bin/
CMD ["/bin/update.sh"]