Ok, no need to fecth the patckage from github any more.

master
Carlos Mogas da Silva 6 years ago
parent 5dd6cad695
commit 1641bb06d2
  1. 7
      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

Loading…
Cancel
Save