Browse Source

Run cleanups as root

master
parent
commit
9e9315e4ad
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -37,11 +37,11 @@ RUN npm -g install Haraka \
&& rm -f /home/node/.npm-global/lib/node_modules/Haraka/plugins/auth/auth_ldap.js \
&& rm -f /home/node/.npm-global/lib/node_modules/Haraka/plugins/rcpt_tp.ldap.js

USER root

RUN apt-get -y remove git && apt-get -y auto-remove && \
rm -rf /var/lib/apt/lists/*

USER root

# Port 80 is used for LetsEncrypt
EXPOSE 25 80 587


Loading…
Cancel
Save