mirror of
https://github.com/peterbourgon/runsvinit.git
synced 2024-12-16 14:57:04 +00:00
15 lines
337 B
Docker
15 lines
337 B
Docker
|
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/*
|
||
|
|
||
|
ADD reap /
|
||
|
|
||
|
ADD foo /
|
||
|
RUN mkdir -p /etc/service/foo
|
||
|
ADD run-foo /etc/service/foo/run
|
||
|
|
||
|
ADD bar /
|
||
|
RUN mkdir -p /etc/service/bar
|
||
|
ADD run-bar /etc/service/bar/run
|
||
|
|
||
|
ENTRYPOINT ["/reap"]
|