1
0
mirror of https://github.com/peterbourgon/runsvinit.git synced 2024-12-16 14:57:04 +00:00

Use releases in Dockerfile

This commit is contained in:
Peter Bourgon 2015-09-25 15:15:17 +02:00
parent 0974489345
commit 9e1f282bcc
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
runsvinit runsvinit
runsvinit-*-*
# Compiled Object files, Static and Dynamic libs (Shared Objects) # Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o *.o

View File

@ -11,5 +11,6 @@ ADD bar /
RUN mkdir -p /etc/service/bar RUN mkdir -p /etc/service/bar
ADD run-bar /etc/service/bar/run ADD run-bar /etc/service/bar/run
ADD runsvinit / ADD https://github.com/peterbourgon/runsvinit/releases/download/v1.0.0/runsvinit-linux-amd64.tgz /
RUN tar zxf /runsvinit-linux-amd64.tgz && mv /runsvinit-linux-amd64 /runsvinit
ENTRYPOINT ["/runsvinit"] ENTRYPOINT ["/runsvinit"]