Skip to content

Commit 05c776b

Browse files
committed
[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@2ff49c5 . With this commit, they are installed in the Docker images. This is a part of the fix of odoo/odoo#27752.
1 parent 3b5c6ae commit 05c776b

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

10.0/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ RUN set -x; \
99
curl \
1010
node-less \
1111
python-gevent \
12+
python-ldap \
1213
python-pip \
14+
python-qrcode \
1315
python-renderpm \
1416
python-support \
17+
python-vobject \
1518
python-watchdog \
1619
&& curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \
1720
&& echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \

11.0/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ RUN set -x; \
1010
&& apt-get install -y --no-install-recommends \
1111
ca-certificates \
1212
curl \
13+
libssl1.0-dev \
1314
node-less \
1415
python3-pip \
15-
python3-setuptools \
16+
python3-pyldap \
17+
python3-qrcode \
1618
python3-renderpm \
17-
libssl1.0-dev \
18-
xz-utils \
19+
python3-setuptools \
20+
python3-vobject \
1921
python3-watchdog \
22+
xz-utils \
2023
&& 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 \
2124
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
2225
&& tar xvf wkhtmltox.tar.xz \

12.0/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ RUN set -x; \
1010
&& apt-get install -y --no-install-recommends \
1111
ca-certificates \
1212
curl \
13+
libssl1.0-dev \
1314
node-less \
1415
python3-pip \
15-
python3-setuptools \
16+
python3-pyldap \
17+
python3-qrcode \
1618
python3-renderpm \
17-
libssl1.0-dev \
18-
xz-utils \
19+
python3-setuptools \
20+
python3-vobject \
1921
python3-watchdog \
22+
xz-utils \
2023
&& 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 \
2124
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
2225
&& tar xvf wkhtmltox.tar.xz \

0 commit comments

Comments
 (0)