added volume for rancher stack

This commit is contained in:
Wayne Connolly
2018-06-30 21:20:38 +10:00
committed by GitHub
parent 63e1fd0eea
commit 47c72feacd
+2
View File
@@ -4,4 +4,6 @@ ADD script.sh /bin/
RUN chmod +x /bin/script.sh
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
RUN mkdir /rancher
VOLUME ["/rancher"]
ENTRYPOINT /bin/script.sh