From 0e1c1862424158ea260832df7b43db085356d6ac Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Fri, 12 Feb 2021 13:03:45 -0600 Subject: [PATCH] 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 --- tools/images/kubeadm-aio/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/images/kubeadm-aio/Dockerfile b/tools/images/kubeadm-aio/Dockerfile index 7728d102a..67602d68a 100644 --- a/tools/images/kubeadm-aio/Dockerfile +++ b/tools/images/kubeadm-aio/Dockerfile @@ -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.