drone-kubernetes/Dockerfile

8 lines
378 B
Docker
Raw Normal View History

2018-01-11 07:23:45 +00:00
FROM alpine:3.7
2018-01-10 11:59:56 +00:00
RUN apk --no-cache add curl ca-certificates bash && \
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 && \
chmod +x /usr/local/bin/kubectl
COPY update.sh /bin/
ENTRYPOINT ["/bin/bash"]
CMD ["/bin/update.sh"]