From c4c493e8f4120c411bd57eae84d5edf4507b12e8 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 2 Feb 2021 14:07:43 +0100 Subject: [PATCH] use python27 specific pip in python dockerfiles --- templates/tools/dockerfile/apt_get_python_27.include | 2 +- templates/tools/dockerfile/python_deps.include | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/tools/dockerfile/apt_get_python_27.include b/templates/tools/dockerfile/apt_get_python_27.include index 4ee37ef11fb..c6fd8a831ce 100644 --- a/templates/tools/dockerfile/apt_get_python_27.include +++ b/templates/tools/dockerfile/apt_get_python_27.include @@ -1,3 +1,3 @@ # Install Python 2.7 RUN apt-get update && apt-get install -y python2.7 python-all-dev -RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7 +RUN curl https://bootstrap.pypa.io/2.7/get-pip.py | python2.7 diff --git a/templates/tools/dockerfile/python_deps.include b/templates/tools/dockerfile/python_deps.include index 537a6a18e22..07c8b2389e1 100644 --- a/templates/tools/dockerfile/python_deps.include +++ b/templates/tools/dockerfile/python_deps.include @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y ${'\\'} python-setuptools # Install Python packages from PyPI -RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7 +RUN curl https://bootstrap.pypa.io/2.7/get-pip.py | python2.7 RUN pip install --upgrade pip==19.3.1 RUN pip install virtualenv==16.7.9 RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.15.0 twisted==17.5.0