From a4111037b09ba678e6601b06fe0b474d2f26a2d8 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Tue, 16 Oct 2018 15:52:28 -0500 Subject: [PATCH] Gate: Fix kubeadm-aio image This PS resores the kubeadm-aio image to a functioning state, by updating the requests package. Change-Id: I706a8ca5661a8e773386c8d82c049e2a9a04e94e Signed-off-by: Pete Birley --- tools/images/kubeadm-aio/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/images/kubeadm-aio/Dockerfile b/tools/images/kubeadm-aio/Dockerfile index 6faf4fa2a..ca3078bd5 100644 --- a/tools/images/kubeadm-aio/Dockerfile +++ b/tools/images/kubeadm-aio/Dockerfile @@ -77,14 +77,15 @@ RUN set -ex ;\ gawk ;\ pip --no-cache-dir install --upgrade pip ;\ hash -r ;\ - pip --no-cache-dir install setuptools ;\ - pip --no-cache-dir install kubernetes ;\ - + pip --no-cache-dir install --upgrade setuptools ;\ # NOTE(srwilkers): Pinning ansible to 2.5.5, as pip installs 2.6 by default. # 2.6 introduces a new command flag (init) for the docker_container module # that is incompatible with what we have currently. 2.5.5 ensures we match # what's deployed in the gates - pip --no-cache-dir install "ansible==2.5.5" ;\ + pip --no-cache-dir install --upgrade \ + requests \ + kubernetes \ + "ansible==2.5.5" ;\ for BINARY in kubectl kubeadm; do \ curl -sSL -o /usr/bin/${BINARY} \ ${GOOGLE_KUBERNETES_REPO_URL}/${BINARY} ;\