Browse Source

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

parent
commit
1641bb06d2
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      Dockerfile

+ 4
- 3
Dockerfile View File

@@ -8,7 +8,7 @@ COPY haraka.sh /haraka.sh
8 8
 COPY certbot-renew.sh /etc/cron.daily/certbot-renew.sh
9 9
 
10 10
 RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \
11
-    apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y --no-install-recommends supervisor certbot cron git && \
11
+    apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y --no-install-recommends supervisor certbot cron && \
12 12
     mkdir /var/log/supervisord && \
13 13
     mkdir /var/run/supervisord && \
14 14
     groupadd -r haraka && \
@@ -20,7 +20,8 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
20 20
             -m \
21 21
             haraka && \
22 22
     chown -R haraka:haraka /haraka && \
23
-    chmod +x /haraka.sh /etc/cron.daily/certbot-renew.sh
23
+    chmod +x /haraka.sh /etc/cron.daily/certbot-renew.sh && \
24
+    rm -rf /var/lib/apt/lists/*
24 25
 
25 26
 COPY supervisord.conf /etc/supervisor/supervisord.conf
26 27
 
@@ -42,4 +43,4 @@ RUN npm -g install \
42 43
            haraka-net-utils \
43 44
            haraka-plugin-rspamd \
44 45
            haraka-plugin-rcpt-ldap \
45
-           https://github.com/haraka/haraka-plugin-auth-ldap.git
46
+           haraka-plugin-auth-ldap

Loading…
Cancel
Save