From 2b2e63b50166c40c86aca242488fb278c19cbf61 Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo <stefano.russo@gmail.com> Date: Sat, 20 Feb 2021 13:54:54 +0100 Subject: [PATCH] Removed Python 2 support and updated pip version. --- services/webapp/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/services/webapp/Dockerfile b/services/webapp/Dockerfile index 27fa190..dd5d1a1 100644 --- a/services/webapp/Dockerfile +++ b/services/webapp/Dockerfile @@ -25,11 +25,7 @@ RUN apt-get install python3 python3-distutils -y # Install Python3 and Pip3 (ython3-distutils required for pip3) RUN apt-get install python3 python3-distutils -y -RUN python3 get-pip.py 'pip==10.0.1' - -# Install Python2 and Pip2 -RUN apt-get install python -y -RUN python get-pip.py 'pip==10.0.1' +RUN python3 get-pip.py 'pip==21.0.1' # Python 3 dev (for pycrypto) RUN apt-get install python3-dev -y -- GitLab