Merge pull request #13 from docker-mailserver/init

Add init system
This commit is contained in:
Casper 2021-01-17 00:04:47 +01:00 committed by GitHub
commit f1b6873d62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ RUN \
altermime amavisd-new apt-transport-https arj binutils bzip2 \ altermime amavisd-new apt-transport-https arj binutils bzip2 \
dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd \ dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd \
dovecot-managesieved dovecot-pop3d dovecot-sieve dovecot-solr \ dovecot-managesieved dovecot-pop3d dovecot-sieve dovecot-solr \
ca-certificates cabextract clamav clamav-daemon cpio curl ed \ dumb-init ca-certificates cabextract clamav clamav-daemon cpio curl ed \
# F - O # F - O
fail2ban fetchmail file gamin gnupg gzip iproute2 iptables \ fail2ban fetchmail file gamin gnupg gzip iproute2 iptables \
locales logwatch lhasa libdate-manip-perl liblz4-tool \ locales logwatch lhasa libdate-manip-perl liblz4-tool \
@ -244,4 +244,6 @@ WORKDIR /
EXPOSE 25 587 143 465 993 110 995 4190 EXPOSE 25 587 143 465 993 110 995 4190
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"] CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]