[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.
This commit is contained in:
Simon Lejeune
2016-10-25 15:51:39 +02:00
parent 0560419f9a
commit 6da3a1848f
3 changed files with 13 additions and 3 deletions
+4 -1
View File
@@ -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