diff --git a/dockerfile b/dockerfile index f8c043d..d9656be 100644 --- a/dockerfile +++ b/dockerfile @@ -19,7 +19,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l cd Python-3.10.*/ && \ ./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \ make -j $(nproc) && \ - make altinstall && \ + sudo make altinstall && \ 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