2018-11-20 17:13:09 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
RUN adduser -u 5000 -g vmail -s /usr/bin/nologin -h /home/vmail -S vmail
|
2018-12-07 16:00:01 +00:00
|
|
|
RUN apk add --no-cache postfix postfix-mysql ca-certificates
|
2018-11-20 17:13:09 +00:00
|
|
|
|
|
|
|
ADD ./main.cf /etc/postfix/main.cf
|
|
|
|
ADD ./master.cf /etc/postfix/master.cf
|
|
|
|
|
|
|
|
ADD ./start.sh /start.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/start.sh"]
|