From 3fc2b09a26f6cfa69630863e00b39e262684b75f Mon Sep 17 00:00:00 2001 From: tcely Date: Tue, 3 Jun 2025 09:56:15 -0400 Subject: [PATCH] Remove the `python3-lib` alternative --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ad61039..ffc08066 100644 --- a/Dockerfile +++ b/Dockerfile @@ -363,8 +363,7 @@ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/va xxd \ && \ # Link to the current python3 version - update-alternatives --install /usr/local/lib/python3 python3-lib \ - "$(find /usr/local/lib -name 'python3.[0-9]*' -type d -printf '%P\n' | sort -r -V | head -n 1)" 100 && \ + ln -v -s -f -T "$(find /usr/local/lib -name 'python3.[0-9]*' -type d -printf '%P\n' | sort -r -V | head -n 1)" /usr/local/lib/python3 && \ # Configure the editor alternatives touch /usr/local/bin/babi /bin/nano /usr/bin/vim.tiny && \ update-alternatives --install /usr/bin/editor editor /usr/local/bin/babi 50 && \