Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ RUN apt update && \
make tk-dev unzip wget xz-utils zlib1g-dev


# Install Python 3.12.x
# Install Python 3.13.x
# https://www.python.org/downloads/
RUN cd /tmp && \
curl --remote-name https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz && \
tar xzf Python-3.12.10.tgz && \
rm --force Python-3.12.10.tgz && \
cd Python-3.12.10 && \
curl --remote-name https://www.python.org/ftp/python/3.13.5/Python-3.13.5.tgz && \
tar xzf Python-3.13.5.tgz && \
rm --force Python-3.13.5.tgz && \
cd Python-3.13.5 && \
CFLAGS="-Os" ./configure --disable-static --enable-optimizations --enable-shared --with-lto --without-tests && \
./configure && \
make && \
make install && \
cd .. && \
rm --force --recursive Python-3.12.10 && \
rm --force --recursive Python-3.13.5 && \
ln --relative --symbolic /usr/local/bin/pip3 /usr/local/bin/pip && \
ln --relative --symbolic /usr/local/bin/python3 /usr/local/bin/python && \
pip3 install --no-cache-dir --upgrade pip
Expand Down