postfix/Dockerfile
2020-08-12 09:28:52 +02:00

25 lines
531 B
Docker

FROM debian:buster
EXPOSE 25 465 587
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y --no-install-recommends \
postfix \
postfix-ldap \
rsyslog \
supervisor \
ca-certificates &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD entrypoint.sh /
RUN chmod +x /entrypoint.sh
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
VOLUME /var/spool/postfix
#ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["supervisord"]