From 6da3a1848f302d7c019b2bda44cd662ace304d97 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Tue, 25 Oct 2016 15:51:39 +0200 Subject: [PATCH] [REF] Odoo 8.0-10.0: install needed dependencies for worker mode ie python-gevent and psycogreen. As psycogreen is not packaged in debian jessie we have to install it with pip. As python-gevent is in the recommanded packaged of odoo and we don't install them, we install it explicitely. --- 10.0/Dockerfile | 5 ++++- 8.0/Dockerfile | 6 +++++- 9.0/Dockerfile | 5 ++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/10.0/Dockerfile b/10.0/Dockerfile index 53d4fb9..ccf33b6 100644 --- a/10.0/Dockerfile +++ b/10.0/Dockerfile @@ -8,6 +8,8 @@ RUN set -x; \ ca-certificates \ curl \ node-less \ + python-gevent \ + python-pip \ python-pyinotify \ python-renderpm \ python-support \ @@ -16,7 +18,8 @@ RUN set -x; \ && 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 + && rm -rf /var/lib/apt/lists/* wkhtmltox.deb \ + && pip install psycogreen==1.0 # Install Odoo ENV ODOO_VERSION 10.0 diff --git a/8.0/Dockerfile b/8.0/Dockerfile index e0add9b..ab7224d 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -9,6 +9,8 @@ RUN set -x; \ curl \ node-less \ node-clean-css \ + python-gevent \ + python-pip \ python-pyinotify \ python-renderpm \ python-support \ @@ -17,7 +19,9 @@ RUN set -x; \ && 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 + && rm -rf /var/lib/apt/lists/* wkhtmltox.deb \ + && pip install psycogreen==1.0 + # Install Odoo ENV ODOO_VERSION 8.0 diff --git a/9.0/Dockerfile b/9.0/Dockerfile index 9c4dc59..81e72bd 100644 --- a/9.0/Dockerfile +++ b/9.0/Dockerfile @@ -8,6 +8,8 @@ RUN set -x; \ ca-certificates \ curl \ node-less \ + python-gevent \ + python-pip \ python-pyinotify \ python-renderpm \ python-support \ @@ -16,7 +18,8 @@ RUN set -x; \ && 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 + && rm -rf /var/lib/apt/lists/* wkhtmltox.deb \ + && pip install psycogreen==1.0 # Install Odoo ENV ODOO_VERSION 9.0