postfix/Dockerfile

20 lines
305 B
Docker

FROM docker.io/thallian/confd-env:3.16
RUN apk add --no-cache \
postfix \
postfix-pgsql \
openssl \
libstdc++ \
libmilter
RUN addgroup -g 2222 access
RUN addgroup postfix access
RUN chown root /var/spool/postfix/
RUN chown root /var/spool/postfix/pid
EXPOSE 25 587
ADD /rootfs /