Improved python
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 7m37s
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 7m37s
This commit is contained in:
parent
c9b4fe2fec
commit
7172023e40
@ -19,9 +19,13 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
|
|||||||
cd Python-3.10.*/ && \
|
cd Python-3.10.*/ && \
|
||||||
./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 && \
|
make altinstall && \
|
||||||
cd ../ && sudo rm -rf Python-3.10.*/ && sudo rm Python-3.10.*.tgz
|
cd ../ && sudo rm -rf Python-3.10.*/ && sudo rm Python-3.10.*.tgz
|
||||||
|
|
||||||
|
RUN sudo update-alternatives --install /usr/bin/python python /usr/local/bin/python3.10 1
|
||||||
|
RUN sudo update-alternatives --install /usr/bin/python3 python /usr/local/bin/python3.10 1
|
||||||
|
RUN sudo update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.10 1
|
||||||
|
|
||||||
RUN python3.10 -m pip install --upgrade pip
|
RUN python3.10 -m pip install --upgrade pip
|
||||||
RUN python3.10 -m pip install --user --upgrade pip
|
RUN python3.10 -m pip install --user --upgrade pip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user