From 50409e5fc43aa66cfa535443842d331d529d5951 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Mon, 8 Dec 2025 21:50:20 -0800 Subject: [PATCH] fix: update Dockerfile to install pip for Python 3.12 using ensurepip --- Dockerfile.allinone | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.allinone b/Dockerfile.allinone index 7061ee4b0..d4e6c02e6 100644 --- a/Dockerfile.allinone +++ b/Dockerfile.allinone @@ -68,8 +68,9 @@ RUN cd /tmp \ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 \ && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 -# Ensure pip uses Python 3.12 -RUN python3.12 -m pip install --upgrade pip +# Install pip for Python 3.12 using ensurepip (distutils removed in 3.12) +RUN python3.12 -m ensurepip --upgrade \ + && python3.12 -m pip install --upgrade pip # Update certificates and install SSL tools RUN update-ca-certificates