Skip to content

Commit

Permalink
updated Python
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Oct 5, 2024
1 parent a1eb18a commit 8996091
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ RUN apt update && \
# Install Python 3.12.x
# https://www.python.org/downloads/
RUN cd /tmp && \
curl --remote-name https://www.python.org/ftp/python/3.12.5/Python-3.12.5.tgz && \
tar xzf Python-3.12.5.tgz && \
rm --force Python-3.12.5.tgz && \
cd Python-3.12.5 && \
curl --remote-name https://www.python.org/ftp/python/3.12.7/Python-3.12.7.tgz && \
tar xzf Python-3.12.7.tgz && \
rm --force Python-3.12.7.tgz && \
cd Python-3.12.7 && \
CFLAGS="-Os" ./configure --disable-static --enable-optimizations --enable-shared --with-lto --without-tests && \
./configure && \
make && \
make install && \
cd .. && \
rm --force --recursive Python-3.12.5 && \
rm --force --recursive Python-3.12.7 && \
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

0 comments on commit 8996091

Please sign in to comment.