diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 5ac45bb..0f5aa87 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -4,10 +4,10 @@ MAINTAINER Odoo S.A. # Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf RUN set -x; \ apt-get update \ - && apt-get install -y \ - adduser \ + && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ + nodejs \ npm \ python-support \ python-pyinotify \ @@ -16,7 +16,8 @@ RUN set -x; \ && curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \ && echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \ && dpkg --force-depends -i wkhtmltox.deb \ - && apt-get -y install -f \ + && 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