From 536c223ee85ae0a3a890445ccf9871b0d10f819d Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Fri, 22 May 2020 22:42:42 +0200 Subject: [PATCH] Run apt-get update prior to installinx exim After a while the known package location changes due to updates so the container will not dtart again --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index 6e62745..8f9dcec 100644 --- a/run.sh +++ b/run.sh @@ -32,6 +32,7 @@ fi # Set debconf values and reconfigure Exim and Mailman. For some reason, dpkg-reconfigure exim4-config does not seem to work. echo -n "Setting up Exim..." { + apt-get update apt-get remove --purge -y exim4 exim4-base exim4-config exim4-daemon-light debconf-set-selections /exim4-config.cfg echo ${EMAIL_FQDN} > /etc/mailname