26 lines
531 B
Text
26 lines
531 B
Text
|
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"]
|
||
|
|