Files
plugin-drone-rancher-stack-v1/Dockerfile
T
2018-09-12 11:28:59 +10:00

8 lines
354 B
Docker

FROM alpine
RUN apk update && apk add tar wget git ca-certificates && rm -rf /var/cache/apk/*
ADD script.sh /bin/
RUN chmod +x /bin/script.sh
RUN wget https://github.com/rancher/cli/releases/download/v0.6.11/rancher-linux-amd64-v0.6.11.tar.gz
RUN tar -zxvf rancher-linux* && mv rancher-*/rancher /bin/. && chmod +x /bin/rancher
ENTRYPOINT /bin/script.sh