Updated python version
This commit is contained in:
@@ -26,7 +26,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
|
|||||||
|
|
||||||
# install python3.12
|
# install python3.12
|
||||||
RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev && \
|
RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev && \
|
||||||
wget https://www.python.org/ftp/python/3.12.7/Python-3.12.7.tgz && \
|
wget https://www.python.org/ftp/python/3.12.11/Python-3.12.11.tgz && \
|
||||||
tar -xf Python-3.12.*.tgz && \
|
tar -xf Python-3.12.*.tgz && \
|
||||||
cd Python-3.12.*/ && \
|
cd Python-3.12.*/ && \
|
||||||
./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \
|
./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \
|
||||||
|
Reference in New Issue
Block a user