From 1641bb06d2381677c4140e780728403f0b09b9c3 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Thu, 21 Jun 2018 10:14:01 +0100 Subject: [PATCH] Ok, no need to fecth the patckage from github any more. --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6c7552..5a95590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY haraka.sh /haraka.sh COPY certbot-renew.sh /etc/cron.daily/certbot-renew.sh RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \ - apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y --no-install-recommends supervisor certbot cron git && \ + apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y --no-install-recommends supervisor certbot cron && \ mkdir /var/log/supervisord && \ mkdir /var/run/supervisord && \ groupadd -r haraka && \ @@ -20,7 +20,8 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so -m \ haraka && \ chown -R haraka:haraka /haraka && \ - chmod +x /haraka.sh /etc/cron.daily/certbot-renew.sh + chmod +x /haraka.sh /etc/cron.daily/certbot-renew.sh && \ + rm -rf /var/lib/apt/lists/* COPY supervisord.conf /etc/supervisor/supervisord.conf @@ -42,4 +43,4 @@ RUN npm -g install \ haraka-net-utils \ haraka-plugin-rspamd \ haraka-plugin-rcpt-ldap \ - https://github.com/haraka/haraka-plugin-auth-ldap.git + haraka-plugin-auth-ldap