mirror of
https://github.com/peterbourgon/runsvinit.git
synced 2024-12-16 14:57:04 +00:00
Update Dockerfile
This commit is contained in:
parent
286be0ba3c
commit
0974489345
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user