Commit ccb82f6f authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Update get-pip url script for ubuntu focal

parent 868c77c7
Pipeline #2400334 skipped with stage
......@@ -46,10 +46,11 @@ RUN apt-get install -y software-properties-common \
&& apt-get clean
# Python2 and python2-pip usage is being discouraged, but we still need it for our tests.
# Temporarely use obsoleted 2.7 script until such patch is applied upstream on the next release.
# After that, revert to the more general https://bootstrap.pypa.io/get-pip.py
# Temporarely use obsoleted 2.7 get-pip script.
# ATM it looks unlikely that a generic wrapper for obsolete versions will be provided upstream.
# If ever, please consult and/or revert to the more general https://bootstrap.pypa.io/get-pip.py
RUN apt-get install -y curl python2 \
&& curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py \
&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
&& python2 get-pip.py \
&& ln -s /usr/bin/python2 /usr/bin/python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment