[build]: Fix get-pip 2.7 url according to upstream announcement (#6999)

ref: https://bootstrap.pypa.io/2.7/get-pip.py

The URL you are using to fetch this script has changed, and this one will no
longer work. Please use get-pip.py from the following URL instead:

    https://bootstrap.pypa.io/pip/2.7/get-pip.py
This commit is contained in:
Qi Luo 2021-03-09 18:15:16 -08:00 committed by GitHub
parent 4e4f76c7ce
commit 38d973b834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ RUN rm -rf /debs \
&& apt-get -y autoclean \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/* \
&& wget --https-only https://bootstrap.pypa.io/2.7/get-pip.py \
&& wget --https-only https://bootstrap.pypa.io/pip/2.7/get-pip.py \
&& python get-pip.py \
&& rm -f get-pip.py \
&& pip install setuptools \