drone-kubernetes/Dockerfile

8 lines
371 B
Docker
Raw Normal View History

2019-02-13 03:24:50 +00:00
FROM alpine:latest
RUN apk --no-cache add curl ca-certificates bash
2017-02-20 11:08:45 +00:00
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/
ENTRYPOINT ["/bin/bash"]
CMD ["/bin/update.sh"]