Skip to content

Commit 89e478a

Browse files
committed
updated Python installation to version 3.12.10 in Dockerfile
1 parent 4a643e6 commit 89e478a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,19 @@ RUN apt update && \
6161
make tk-dev unzip wget xz-utils zlib1g-dev
6262

6363

64-
# Install Python 3.13.x
64+
# Install Python 3.12.x
6565
# https://www.python.org/downloads/
6666
RUN cd /tmp && \
67-
curl --remote-name https://www.python.org/ftp/python/3.13.2/Python-3.13.2.tgz && \
68-
tar xzf Python-3.13.2.tgz && \
69-
rm --force Python-3.13.2.tgz && \
70-
cd Python-3.13.2 && \
67+
curl --remote-name https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz && \
68+
tar xzf Python-3.12.10.tgz && \
69+
rm --force Python-3.12.10.tgz && \
70+
cd Python-3.12.10 && \
7171
CFLAGS="-Os" ./configure --disable-static --enable-optimizations --enable-shared --with-lto --without-tests && \
7272
./configure && \
7373
make && \
7474
make install && \
7575
cd .. && \
76-
rm --force --recursive Python-3.13.2 && \
76+
rm --force --recursive Python-3.12.10 && \
7777
ln --relative --symbolic /usr/local/bin/pip3 /usr/local/bin/pip && \
7878
ln --relative --symbolic /usr/local/bin/python3 /usr/local/bin/python && \
7979
pip3 install --no-cache-dir --upgrade pip

0 commit comments

Comments
 (0)