From 772016ec097ad34ea53d54974080d4d3d6dbc2d8 Mon Sep 17 00:00:00 2001 From: 20th <1331328+20th@users.noreply.github.com> Date: Sun, 27 Jun 2021 05:27:31 -0400 Subject: [PATCH] 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. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b0e07a37..d44ff19b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,9 +47,9 @@ RUN \ # A - D altermime amavisd-new apt-transport-https arj binutils bzip2 bsd-mailx \ ca-certificates cabextract clamav clamav-daemon cpio curl \ - dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd \ - dovecot-managesieved dovecot-pop3d dovecot-sieve dovecot-solr \ - dumb-init \ + dbconfig-no-thanks dovecot-core dovecot-imapd dovecot-ldap \ + dovecot-lmtpd dovecot-managesieved dovecot-pop3d dovecot-sieve \ + dovecot-solr dumb-init \ # E - O ed fetchmail file gamin gnupg gzip iproute2 iptables \ locales logwatch lhasa libdate-manip-perl liblz4-tool \