mirror of
https://github.com/wayneconnolly/drone-rancher-stack-v1.git
synced 2026-06-04 18:23:54 +08:00
8 lines
354 B
Docker
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
|