Fix ubuntu_xenial build (use pip <21.0)

pip 21.0 requires Python >= 3.6. [0]
The latest official python3 package for xenial is 3.5.1-3 [1]

Until we stop building xenial images, ensure that an older pip version
is used.

0: https://pypi.org/project/pip/21.0/
1: https://packages.ubuntu.com/xenial/python3
Change-Id: I6a51ae5b9e3222ca404c7ccd7dea1209b20ce8fd
This commit is contained in:
Phil Sphicas 2021-02-15 03:32:39 +00:00
parent 452734fb72
commit f020bdbc3f

View File

@ -31,7 +31,7 @@ RUN set -ex \
python3-dev \
python3-pip \
python3-setuptools \
&& python3 -m pip install -U pip \
&& python3 -m pip install -U 'pip<21.0' \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf \