Skip to content

Commit c09e441

Browse files
partheavchudnov-g
authored andcommitted
wip
1 parent 574c712 commit c09e441

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.kokoro/docker/Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ RUN set -ex \
126126
3.12.11 \
127127
3.13.8 \
128128
3.14.0" \
129-
&& for PYTHON_VERSION in $PYTHON_VERSIONS; do \
130-
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" \
131-
&& 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" \
132-
&& gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz \
133-
&& rm -r python-${PYTHON_VERSION}.tar.xz.asc \
134-
&& mkdir -p /usr/src/python-${PYTHON_VERSION} \
135-
&& tar -xJC /usr/src/python-${PYTHON_VERSION} --strip-components=1 -f python-${PYTHON_VERSION}.tar.xz \
136-
&& rm python-${PYTHON_VERSION}.tar.xz \
137-
&& cd /usr/src/python-${PYTHON_VERSION} \
129+
&& for VERSION in $PYTHON_VERSIONS; do \
130+
wget --no-check-certificate -O python-${VERSION}.tar.xz "https://www.python.org/ftp/python/${VERSION%%[a-z]*}/Python-$VERSION.tar.xz" \
131+
&& wget --no-check-certificate -O python-${VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${VERSION%%[a-z]*}/Python-$VERSION.tar.xz.asc" \
132+
&& gpg --batch --verify python-${VERSION}.tar.xz.asc python-${VERSION}.tar.xz \
133+
&& rm -r python-${VERSION}.tar.xz.asc \
134+
&& mkdir -p /usr/src/python-${VERSION} \
135+
&& tar -xJC /usr/src/python-${VERSION} --strip-components=1 -f python-${VERSION}.tar.xz \
136+
&& rm python-${VERSION}.tar.xz \
137+
&& cd /usr/src/python-${VERSION} \
138138
&& ./configure \
139139
--enable-shared \
140140
# This works only on Python 2.7 and throws a warning on every other

0 commit comments

Comments
 (0)