Skip to content

Commit e4ffe17

Browse files
authored
chore: fix docker build for Python 3.8 (#13342)
1 parent 9c5a96d commit e4ffe17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.kokoro/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ RUN set -ex \
146146
# "ValueError: invalid truth value '<VERSION>'"
147147
ENV PYTHON_PIP_VERSION 21.3.1
148148
RUN wget --no-check-certificate -O /tmp/get-pip-3-7.py 'https://bootstrap.pypa.io/pip/3.7/get-pip.py' \
149+
&& wget --no-check-certificate -O /tmp/get-pip-3-8.py 'https://bootstrap.pypa.io/pip/3.8/get-pip.py' \
149150
&& wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
150151
&& python3.10 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
151152
# 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
161162
RUN python3.12 /tmp/get-pip.py
162163
RUN python3.11 /tmp/get-pip.py
163164
RUN python3.9 /tmp/get-pip.py
164-
RUN python3.8 /tmp/get-pip.py
165+
RUN python3.8 /tmp/get-pip-3-8.py
165166
RUN python3.7 /tmp/get-pip-3-7.py
166167
RUN rm /tmp/get-pip.py
167168

0 commit comments

Comments
 (0)