From e7715fe224e6a9fecf519ae4fc71cb48621b8d2b Mon Sep 17 00:00:00 2001 From: Napas Ongsomwang Date: Wed, 5 Feb 2020 18:37:06 +0700 Subject: [PATCH 1/2] force install pip --- 11.0/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 6d5969a..6d4f811 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -24,6 +24,9 @@ RUN set -x; \ && cp -r wkhtmltox/share/man/man1 /usr/local/share/man/ \ && rm -rf wkhtmltox.tar.xz wkhtmltox /var/lib/apt/lists/* +# Install latest pip version +RUN pip3 install -U pip + # Install Odoo ENV ODOO_VERSION 11.0 ENV ODOO_RELEASE 20191210 From 83eaf546c20cb89c334b26eb77cdfe6f7b95371b Mon Sep 17 00:00:00 2001 From: Napas Ongsomwang Date: Wed, 5 Feb 2020 19:02:04 +0700 Subject: [PATCH 2/2] modify dockerfile --- 11.0/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 6d4f811..c5eb608 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -22,10 +22,8 @@ RUN set -x; \ && cp wkhtmltox/lib/* /usr/local/lib/ \ && cp wkhtmltox/bin/* /usr/local/bin/ \ && cp -r wkhtmltox/share/man/man1 /usr/local/share/man/ \ - && rm -rf wkhtmltox.tar.xz wkhtmltox /var/lib/apt/lists/* - -# Install latest pip version -RUN pip3 install -U pip + && rm -rf wkhtmltox.tar.xz wkhtmltox /var/lib/apt/lists/* \ + && pip3 install -U pip # Install Odoo ENV ODOO_VERSION 11.0