From 6e4107c1a7ff2c6764ebb6335cf5dceec81c2c68 Mon Sep 17 00:00:00 2001 From: Mike Dillon Date: Sat, 7 Mar 2015 21:44:13 -0800 Subject: [PATCH] Remove npm after installing lessc --- 8.0/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/8.0/Dockerfile b/8.0/Dockerfile index acad1cd..0f5aa87 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -5,9 +5,9 @@ MAINTAINER Odoo S.A. RUN set -x; \ apt-get update \ && apt-get install -y --no-install-recommends \ - adduser \ ca-certificates \ curl \ + nodejs \ npm \ python-support \ python-pyinotify \ @@ -17,6 +17,7 @@ RUN set -x; \ && echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \ && dpkg --force-depends -i wkhtmltox.deb \ && apt-get -y install -f --no-install-recommends \ + && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \ && rm -rf /var/lib/apt/lists/* wkhtmltox.deb # Install Odoo