From def32c71066485bc31d63bcb2abc0ef794b5ae83 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Wed, 9 Oct 2019 14:25:19 +0200 Subject: [PATCH] [FIX] 11.0~13.0: install phonenumbers and upgrade pip While phonenumbers is not required to run Odoo, it's a requested nice to have. Upgrading pip solves a red warning issued when pip installs docopt. closes #245 and closes #168 --- 11.0/Dockerfile | 3 ++- 12.0/Dockerfile | 3 ++- 13.0/Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 4f6b930..993ee22 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -55,7 +55,8 @@ RUN set -x; \ && rm -rf /var/lib/apt/lists/* odoo.deb # Copy entrypoint script and Odoo configuration file -RUN pip3 install num2words xlwt +RUN pip3 install --upgrade pip +RUN pip3 install num2words xlwt phonenumbers COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ RUN chown odoo /etc/odoo/odoo.conf diff --git a/12.0/Dockerfile b/12.0/Dockerfile index a983e42..e90e2ba 100644 --- a/12.0/Dockerfile +++ b/12.0/Dockerfile @@ -69,7 +69,8 @@ RUN set -x; \ && rm -rf /var/lib/apt/lists/* odoo.deb # Copy entrypoint script and Odoo configuration file -RUN pip3 install num2words xlwt +RUN pip3 install --upgrade pip +RUN pip3 install num2words xlwt phonenumbers COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ RUN chown odoo /etc/odoo/odoo.conf diff --git a/13.0/Dockerfile b/13.0/Dockerfile index 52efac9..e257c00 100644 --- a/13.0/Dockerfile +++ b/13.0/Dockerfile @@ -60,7 +60,8 @@ RUN set -x; \ && rm -rf /var/lib/apt/lists/* odoo.deb # Copy entrypoint script and Odoo configuration file -RUN pip3 install num2words xlwt +RUN pip3 install --upgrade pip +RUN pip3 install num2words xlwt phonenumbers COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ RUN chown odoo /etc/odoo/odoo.conf