|
|
|
@ -29,11 +29,7 @@ USER node |
|
|
|
|
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global |
|
|
|
|
ENV PATH=$PATH:/home/node/.npm-global/bin |
|
|
|
|
|
|
|
|
|
RUN npm -g install Haraka \ |
|
|
|
|
&& npm -g install haraka-net-utils \ |
|
|
|
|
&& npm -g install haraka-plugin-rspamd \ |
|
|
|
|
&& npm -g install https://github.com/haraka/haraka-plugin-auth-ldap.git \ |
|
|
|
|
&& npm -g install haraka-plugin-rcpt-ldap |
|
|
|
|
RUN npm -g install Haraka haraka-net-utils haraka-plugin-rspamd haraka-plugin-rcpt-ldap https://github.com/haraka/haraka-plugin-auth-ldap.git \ |
|
|
|
|
# && 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 |
|
|
|
|
|
|
|
|
|