Bump pip to latest in kubeadm Dockerfile

The cryptography package from pypi recently introduced some
breaking changes[0] with regards to forcing a dependency on rust.
This caused the multinode gate to fail when building the
kubeadm-aio image.

This change updates pip to the latest version as a workaround.

[0] https://github.com/pyca/cryptography/issues/5771

Change-Id: I337036d0ee425dcde917d88c4e48ac5a8b98018e
This commit is contained in:
Gage Hugo 2021-02-12 13:03:45 -06:00 committed by Tin Lam
parent 4e2832476f
commit 0e1c186242
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ RUN set -ex ;\
jq \
python3-pip \
gawk ;\
pip3 --no-cache-dir install --upgrade pip==18.1 ;\
pip3 --no-cache-dir install --upgrade pip==21.0.1 ;\
hash -r ;\
pip3 --no-cache-dir install --upgrade setuptools ;\
# NOTE(srwilkers): Pinning ansible to 2.5.5, as pip installs 2.6 by default.