From 0054633773cb9637517765e96d5b4cf278aa1408 Mon Sep 17 00:00:00 2001
From: remi-filament <30716308+remi-filament@users.noreply.github.com>
Date: Thu, 11 Mar 2021 14:35:55 +0100
Subject: [PATCH] [fix] get-pip URI

---
 10.0.Dockerfile    | 2 +-
 12.0.Dockerfile    | 2 +-
 12.0_ml.Dockerfile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/10.0.Dockerfile b/10.0.Dockerfile
index e34027c..7c1c8a9 100644
--- a/10.0.Dockerfile
+++ b/10.0.Dockerfile
@@ -45,7 +45,7 @@ RUN set -x; \
         dpkg --install wkhtmltox.deb &&\
         apt-get install -y --no-install-recommends postgresql-client &&\
         apt-get install -y --no-install-recommends ${APT_DEPS} &&\
-        curl https://bootstrap.pypa.io/get-pip.py | python /dev/stdin &&\
+        curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python /dev/stdin &&\
         pip install -I -r https://raw.githubusercontent.com/OCA/OCB/10.0/requirements.txt &&\
         pip install simplejson WTForms Werkzeug==0.14.1 &&\
         apt-get -y purge ${APT_DEPS} &&\
diff --git a/12.0.Dockerfile b/12.0.Dockerfile
index 6940ade..f744d72 100644
--- a/12.0.Dockerfile
+++ b/12.0.Dockerfile
@@ -40,7 +40,7 @@ RUN set -x; \
         apt-get install -y --no-install-recommends ./wkhtmltox.deb &&\
         apt-get install -y --no-install-recommends postgresql-client &&\
         apt-get install -y --no-install-recommends ${APT_DEPS} &&\
-        curl https://bootstrap.pypa.io/get-pip.py | python3 /dev/stdin &&\
+        curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3 /dev/stdin &&\
         pip install -I -r https://raw.githubusercontent.com/OCA/OCB/12.0/requirements.txt &&\
         pip install simplejson WTForms zxcvbn phonenumbers Werkzeug==0.14.1 &&\
         apt-get -y purge ${APT_DEPS} &&\
diff --git a/12.0_ml.Dockerfile b/12.0_ml.Dockerfile
index 8242426..16fdb3b 100644
--- a/12.0_ml.Dockerfile
+++ b/12.0_ml.Dockerfile
@@ -40,7 +40,7 @@ RUN set -x; \
         apt-get install -y --no-install-recommends ./wkhtmltox.deb &&\
         apt-get install -y --no-install-recommends postgresql-client &&\
         apt-get install -y --no-install-recommends ${APT_DEPS} &&\
-        curl https://bootstrap.pypa.io/get-pip.py | python3 /dev/stdin &&\
+        curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3 /dev/stdin &&\
         pip install -I -r https://raw.githubusercontent.com/OCA/OCB/12.0/requirements.txt &&\
         pip install simplejson WTForms zxcvbn phonenumbers Werkzeug==0.14.1 &&\
         apt-get -y purge ${APT_DEPS} &&\
-- 
GitLab