8000 fix: restore python 3.7 in docker image used for samples testing (#10… · davidxia/python-docs-samples@b22d7fe · GitHub
[go: up one dir, main page]

Skip to content

Commit b22d7fe

Browse files
authored
fix: restore python 3.7 in docker image used for samples testing (GoogleCloudPlatform#10465)
1 parent 9be3ec5 commit b22d7fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.kokoro/docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ RUN set -ex \
117117
&& export GNUPGHOME="$(mktemp -d)" \
118118
&& echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" \
119119
&& /tmp/fetch_gpg_keys.sh \
120-
&& for PYTHON_VERSION in 2.7.18 3.8.17 3.9.17 3.10.12 3.11.4; do \
120+
&& for PYTHON_VERSION in 2.7.18 3.7.17 3.8.17 3.9.17 3.10.12 3.11.4; do \
121121
wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \
122122
&& wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
123123
&& gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz \
@@ -160,10 +160,12 @@ RUN wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/ge
160160
RUN python3.11 /tmp/get-pip.py
161161
RUN python3.9 /tmp/get-pip.py
162162
RUN python3.8 /tmp/get-pip.py
163+
RUN python3.7 /tmp/get-pip.py
163164
RUN rm /tmp/get-pip.py
164165

165166
# Test Pip
166167
RUN python3 -m pip
168+
RUN python3.7 -m pip
167169
RUN python3.8 -m pip
168170
RUN python3.9 -m pip
169171
RUN python3.10 -m pip

0 commit comments

Comments
 (0)
0