rancher-compose is baked in

This commit is contained in:
Wayne Connolly
2018-06-29 23:44:41 +10:00
committed by GitHub
parent 269563831d
commit 5918ecb2ce
+3 -2
View File
@@ -1,6 +1,7 @@
FROM alpine
RUN apk update && apk -Uuv add curl tar git ca-certificates && rm -rf /var/cache/apk/*
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 curl -o rancher-compose.tar.gz https://github.com/rancher/rancher-compose/releases/download/v0.12.5/rancher-compose-linux-amd64-v0.12.5.tar.gz
RUN wget https://github.com/rancher/rancher-compose/releases/download/v0.12.5/rancher-compose-linux-amd64-v0.12.5.tar.gz
RUN tar -zxvf rancher-compose-linux* && mv rancher-compose-*/rancher-compose /bin/. && chmod +x /bin/rancher-compose
ENTRYPOINT /bin/script.sh