mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
3c0ec06020
Signed-off-by: Jess Frazelle <acidburn@github.com>
22 lines
398 B
Docker
22 lines
398 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
ca-certificates \
|
|
libsasl \
|
|
mailx \
|
|
postfix \
|
|
rsyslog \
|
|
runit \
|
|
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main
|
|
|
|
COPY service /etc/service
|
|
COPY runit_bootstrap /usr/sbin/runit_bootstrap
|
|
COPY rsyslog.conf /etc/rsyslog.conf
|
|
|
|
RUN ln -sf /dev/stdout /var/log/mail.log
|
|
|
|
STOPSIGNAL SIGKILL
|
|
|
|
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
|