[FIX] Odoo 10.0-12.0: add missing packages

In Odoo, ldap, qrcode and vobject python modules are set as required in
odoo/setup.py. On the other hand, they are only recommendend in the
Debian package.

As a consequence, it was difficult to run some Odoo modules that
required one of them.

The Odoo Debian package was adapted in master where they were added as
dependencies in odoo/odoo@2ff49c5fcb .

With this commit, they are installed in the Docker images.

This is a part of the fix of odoo/odoo#27752.
This commit is contained in:
Christophe Monniez 2018-11-26 13:38:47 +01:00
parent 3b5c6ae6aa
commit 05c776bcb2
3 changed files with 15 additions and 6 deletions

View File

@ -9,9 +9,12 @@ RUN set -x; \
curl \ curl \
node-less \ node-less \
python-gevent \ python-gevent \
python-ldap \
python-pip \ python-pip \
python-qrcode \
python-renderpm \ python-renderpm \
python-support \ python-support \
python-vobject \
python-watchdog \ python-watchdog \
&& curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \ && 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 - \ && echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \

View File

@ -10,13 +10,16 @@ RUN set -x; \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
ca-certificates \ ca-certificates \
curl \ curl \
libssl1.0-dev \
node-less \ node-less \
python3-pip \ python3-pip \
python3-setuptools \ python3-pyldap \
python3-qrcode \
python3-renderpm \ python3-renderpm \
libssl1.0-dev \ python3-setuptools \
xz-utils \ python3-vobject \
python3-watchdog \ python3-watchdog \
xz-utils \
&& curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \ && curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \ && echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
&& tar xvf wkhtmltox.tar.xz \ && tar xvf wkhtmltox.tar.xz \

View File

@ -10,13 +10,16 @@ RUN set -x; \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
ca-certificates \ ca-certificates \
curl \ curl \
libssl1.0-dev \
node-less \ node-less \
python3-pip \ python3-pip \
python3-setuptools \ python3-pyldap \
python3-qrcode \
python3-renderpm \ python3-renderpm \
libssl1.0-dev \ python3-setuptools \
xz-utils \ python3-vobject \
python3-watchdog \ python3-watchdog \
xz-utils \
&& curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \ && curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \ && echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
&& tar xvf wkhtmltox.tar.xz \ && tar xvf wkhtmltox.tar.xz \