postfix/Dockerfile
2018-12-16 22:39:36 +01:00

13 lines
343 B
Docker

FROM alpine:3.8
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN apk update && \
apk upgrade && \
apk add tzdata rsyslog postfix runit ca-certificates
# tzdata - for passing TZ environment variable.
# rsyslog - to log postfix service into /var/log/maillog file.
COPY service /etc/service/
ENTRYPOINT runsvdir -P /etc/service