improved dockerfile

This commit is contained in:
Sven Heidemann 2023-11-02 16:52:04 +01:00
parent 5dce72081e
commit 216d21e38d

View File

@ -20,6 +20,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
./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" && \
make -j $(nproc) && \ make -j $(nproc) && \
sudo make altinstall && \ sudo make altinstall && \
python3.10 -m pip install --user --upgrade pip python3.10 -m pip install --user --upgrade pip && \
cd ../ && rm -r Python-3.10.*/
# cleanup # cleanup