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

Update Dockerfile

This commit is contained in:
Peter Bourgon 2015-09-25 14:45:48 +02:00
parent 286be0ba3c
commit 0974489345

View File

@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && apk add --update runit && rm -rf /var/cache/apk/* RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && \
apk add --update runit && \
ADD runsvinit / rm -rf /var/cache/apk/*
ADD foo / ADD foo /
RUN mkdir -p /etc/service/foo RUN mkdir -p /etc/service/foo
@ -11,4 +11,5 @@ 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 /
ENTRYPOINT ["/runsvinit"] ENTRYPOINT ["/runsvinit"]