Remove npm after installing lessc
This commit is contained in:
parent
077d70f717
commit
6e4107c1a7
@ -5,9 +5,9 @@ MAINTAINER Odoo S.A. <info@odoo.com>
|
|||||||
RUN set -x; \
|
RUN set -x; \
|
||||||
apt-get update \
|
apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
adduser \
|
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
python-support \
|
python-support \
|
||||||
python-pyinotify \
|
python-pyinotify \
|
||||||
@ -17,6 +17,7 @@ RUN set -x; \
|
|||||||
&& echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \
|
&& echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \
|
||||||
&& dpkg --force-depends -i wkhtmltox.deb \
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||||
&& apt-get -y install -f --no-install-recommends \
|
&& 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
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
|
Loading…
Reference in New Issue
Block a user