Auto merge of #28152 - servo:jdm-patch-49, r=jdm

Update pip when building docker image.

Outdated versions of pip can't find a Rust compiler that's required when installing the python cryptography package.
This commit is contained in:
bors-servo 2021-02-09 00:06:09 -05:00 committed by GitHub
commit aeb30d2a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,4 +41,6 @@ RUN \
# Python 2 bits that have been removed from Ubuntu packages
curl https://bootstrap.pypa.io/2.7/get-pip.py -sSf -o get-pip.py && \
python2 get-pip.py && \
python2 -m pip install virtualenv
python2 -m pip install virtualenv && \
# Ensure modern pip is present.
python3 -m pip install -U pip