From 4f8a61d7f8849b2ca64a5ebb3eb88aff9e32fc8f Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Tue, 5 Jun 2018 19:34:14 +0100 Subject: [PATCH] Remove bundled plugins that we install seperately --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46f106a..01bd09c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,9 @@ RUN npm -g install Haraka \ && npm -g install haraka-net-utils \ && npm -g install haraka-plugin-rspamd \ && npm -g install haraka-plugin-auth-ldap \ - && npm -g install haraka-plugin-rcpt-ldap + && npm -g install haraka-plugin-rcpt-ldap \ + && 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