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

16 lines
359 B
Docker
Raw Permalink Normal View History

2015-09-25 10:30:24 +00:00
FROM alpine:latest
2015-09-25 12:45:48 +00:00
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && \
apk add --update runit && \
rm -rf /var/cache/apk/*
2015-09-25 10:30:24 +00:00
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
2015-09-25 13:31:54 +00:00
ADD /runsvinit /
2015-09-25 12:40:31 +00:00
ENTRYPOINT ["/runsvinit"]