postfix/Dockerfile

21 lines
325 B
Docker

FROM docker.io/thallian/confd-env:3.17
RUN apk add --no-cache \
postfix \
postfix-pgsql \
openssl \
libstdc++ \
libmilter \
icu-data-full
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 /