Prevent automatic installation of dbconfig-mysql (#2059)

Debian opendmarc package has a dependency on dbconfig-mysql, which it
will pull, together with its dependencies, during image build.

Explicitly listing an alternative dbconfig-no-thanks package prevents
installation of unnecessary packages and reduces the image size.
This commit is contained in:
20th 2021-06-27 05:27:31 -04:00 committed by GitHub
parent 84cc295431
commit 772016ec09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,9 +47,9 @@ RUN \
# A - D # A - D
altermime amavisd-new apt-transport-https arj binutils bzip2 bsd-mailx \ altermime amavisd-new apt-transport-https arj binutils bzip2 bsd-mailx \
ca-certificates cabextract clamav clamav-daemon cpio curl \ ca-certificates cabextract clamav clamav-daemon cpio curl \
dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd \ dbconfig-no-thanks dovecot-core dovecot-imapd dovecot-ldap \
dovecot-managesieved dovecot-pop3d dovecot-sieve dovecot-solr \ dovecot-lmtpd dovecot-managesieved dovecot-pop3d dovecot-sieve \
dumb-init \ dovecot-solr dumb-init \
# E - O # E - O
ed fetchmail file gamin gnupg gzip iproute2 iptables \ ed fetchmail file gamin gnupg gzip iproute2 iptables \
locales logwatch lhasa libdate-manip-perl liblz4-tool \ locales logwatch lhasa libdate-manip-perl liblz4-tool \