2018-09-14 17:48:08 +02:00
|
|
|
FROM alpine:latest
|
2017-01-11 00:24:32 +01:00
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
bash \
|
2017-01-15 01:16:44 +01:00
|
|
|
ca-certificates \
|
2017-01-11 00:24:32 +01:00
|
|
|
libsasl \
|
2017-03-02 21:31:20 +01:00
|
|
|
mailx \
|
2017-01-11 00:24:32 +01:00
|
|
|
postfix \
|
|
|
|
rsyslog \
|
2018-09-14 17:48:08 +02:00
|
|
|
runit \
|
2018-11-29 22:49:49 +01:00
|
|
|
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main
|
2017-01-11 00:24:32 +01:00
|
|
|
|
|
|
|
COPY service /etc/service
|
|
|
|
COPY runit_bootstrap /usr/sbin/runit_bootstrap
|
|
|
|
COPY rsyslog.conf /etc/rsyslog.conf
|
|
|
|
|
2018-11-14 16:22:29 +01:00
|
|
|
RUN ln -sf /dev/stdout /var/log/mail.log
|
|
|
|
|
2017-01-11 00:24:32 +01:00
|
|
|
STOPSIGNAL SIGKILL
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
|