From 43eb97ec6df2bac0926f5872421a7b454f64e6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maillard?= Date: Wed, 30 Aug 2017 10:44:54 +0800 Subject: [PATCH] Less was removed by mistake during merge --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index 73982533..93403d60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > \ libxrender1 libxext6 fontconfig \ python-zsi \ python-lasso \ + libzmq3 \ # libpq-dev is needed to install pg_config which is required by psycopg2 libpq-dev \ # These libraries are needed to install the pip modules @@ -47,6 +48,10 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > \ libldap2-dev \ libsasl2-dev \ libssl-dev \ + # Librairies required for LESS + node-less \ + nodejs \ + npm \ # This library is necessary to upgrade PIL/pillow module libjpeg8-dev \ # Git is required to clone Odoo OCB project @@ -56,6 +61,10 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > \ ADD sources/pip-req.txt /opt/sources/pip-req.txt RUN pip install -r /opt/sources/pip-req.txt +# Install LESS +RUN npm install -g less less-plugin-clean-css && \ + ln -s /usr/bin/nodejs /usr/bin/node + # must unzip this package to make it visible as an odoo external dependency RUN easy_install -UZ py3o.template==0.9.11 RUN easy_install -UZ py3o.types==0.1.1