From a6e424a4ef959ddc8e5c74db6c3ef92795a8c017 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 6 May 2025 19:07:04 -0400 Subject: [PATCH] chore: fix docker build for Python 3.8 --- .kokoro/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.kokoro/docker/Dockerfile b/.kokoro/docker/Dockerfile index e2d74d172dc..ba9af12a933 100644 --- a/.kokoro/docker/Dockerfile +++ b/.kokoro/docker/Dockerfile @@ -146,6 +146,7 @@ RUN set -ex \ # "ValueError: invalid truth value ''" ENV PYTHON_PIP_VERSION 21.3.1 RUN wget --no-check-certificate -O /tmp/get-pip-3-7.py 'https://bootstrap.pypa.io/pip/3.7/get-pip.py' \ + && wget --no-check-certificate -O /tmp/get-pip-3-8.py 'https://bootstrap.pypa.io/pip/3.8/get-pip.py' \ && wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \ && python3.10 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \ # we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python @@ -161,7 +162,7 @@ RUN python3.13 /tmp/get-pip.py RUN python3.12 /tmp/get-pip.py RUN python3.11 /tmp/get-pip.py RUN python3.9 /tmp/get-pip.py -RUN python3.8 /tmp/get-pip.py +RUN python3.8 /tmp/get-pip-3-8.py RUN python3.7 /tmp/get-pip-3-7.py RUN rm /tmp/get-pip.py