From 02432404f13032b9126335849eec07728efdce8c Mon Sep 17 00:00:00 2001 From: Junrou Nishida Date: Sun, 5 Jan 2025 19:23:08 +0900 Subject: [PATCH] fix: avoid HERMETIC_PYTHON_VERSION errors (#1292) --- docker/linux/x86_64/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/linux/x86_64/Dockerfile b/docker/linux/x86_64/Dockerfile index a6322e903..c6c778b85 100644 --- a/docker/linux/x86_64/Dockerfile +++ b/docker/linux/x86_64/Dockerfile @@ -61,7 +61,8 @@ RUN add-apt-repository ppa:deadsnakes/ppa -y && \ apt-get install -y --no-install-recommends python3.12 python3.12-dev python3.12-venv python3-pip && \ curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ python3.12 get-pip.py && \ - update-alternatives --install /usr/local/bin/python python /usr/bin/python3.12 10 + update-alternatives --install /usr/bin/python python /usr/bin/python3.12 10 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 10 FROM base AS android