Skip to content

Commit 057f1bf

Browse files
committed
updates base DockerFile that is used in assorted samples testing
1 parent d3c7155 commit 057f1bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.kokoro/docker/Dockerfile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN set -ex \
116116
&& export GNUPGHOME="$(mktemp -d)" \
117117
&& echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" \
118118
&& /tmp/fetch_gpg_keys.sh \
119-
&& for PYTHON_VERSION in 2.7.18 3.7.17 3.8.20 3.9.20 3.10.15 3.11.10 3.12.7 3.13.0; do \
119+
&& for PYTHON_VERSION in 2.7.18 3.7.17 3.8.20 3.9.20 3.10.15 3.11.10 3.12.7 3.13.0 3.14.0; do \
120120
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" \
121121
&& 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" \
122122
&& gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz \
@@ -158,6 +158,7 @@ RUN wget --no-check-certificate -O /tmp/get-pip-3-7.py 'https://bootstrap.pypa.i
158158
&& [ "$(pip list |tac|tac| awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ]
159159

160160
# Ensure Pip for all python3 versions
161+
RUN python3.14 /tmp/get-pip.py
161162
RUN python3.13 /tmp/get-pip.py
162163
RUN python3.12 /tmp/get-pip.py
163164
RUN python3.11 /tmp/get-pip.py
@@ -175,10 +176,12 @@ RUN python3.10 -m pip
175176
RUN python3.11 -m pip
176177
RUN python3.12 -m pip
177178
RUN python3.13 -m pip
179+
RUN python3.14 -m pip
178180

179181
# Install "setuptools" for Python 3.12+ (see https://docs.python.org/3/whatsnew/3.12.html#distutils)
180182
RUN python3.12 -m pip install --no-cache-dir setuptools
181183
RUN python3.13 -m pip install --no-cache-dir setuptools
184+
RUN python3.14 -m pip install --no-cache-dir setuptools
182185

183186
# Install "virtualenv", since the vast majority of users of this image will want it.
184187
RUN pip install --no-cache-dir virtualenv

0 commit comments

Comments
 (0)