From 3281d3529e2d262b39d016eefb6c981173cb2bde Mon Sep 17 00:00:00 2001 From: Michael Schmitz Date: Wed, 23 Oct 2024 22:18:25 +0200 Subject: [PATCH] Use python3.12 by default on debian --- dockerfiles/Debian | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockerfiles/Debian b/dockerfiles/Debian index 31a216a..e9f4100 100644 --- a/dockerfiles/Debian +++ b/dockerfiles/Debian @@ -60,6 +60,9 @@ Signed-By: /etc/apt/keyrings/deb-pascalroeleven.gpg" \ RUN apt-get update \ && apt-get -y install python3.12 python3.12-dev python3.12-venv +# Use Python 3.12 when calling python3 +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 + # Fix potential UTF-8 errors with ansible-test. RUN locale-gen en_US.UTF-8