File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments