dockerfiles/postfix/Dockerfile

20 lines
355 B
Docker
Raw Normal View History

FROM alpine:latest
RUN apk add --no-cache \
bash \
ca-certificates \
libsasl \
mailx \
postfix \
rsyslog \
runit \
--repository https://dl-3.alpinelinux.org/alpine/edge/main
COPY service /etc/service
COPY runit_bootstrap /usr/sbin/runit_bootstrap
COPY rsyslog.conf /etc/rsyslog.conf
STOPSIGNAL SIGKILL
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]