From f183d3dcf6d78fc5ebf3bf2a69195a3443e5af80 Mon Sep 17 00:00:00 2001 From: birdhackor Date: Thu, 20 Jun 2024 13:47:29 +0800 Subject: [PATCH] change to altinstall --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 586f464..9cf9dd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN tar -xzvf /tmp/Python-3.11.9.tgz -C /tmp WORKDIR /tmp/Python-3.11.9 RUN ./configure --prefix=/usr/local/python3.11 --with-openssl=/usr/local/ssl --enable-optimizations --with-zlib --enable-shared && \ - make install && make clean + make altinstall && make clean RUN ln -s /usr/local/python3.11/bin/python3 /usr/bin/python3