From e82f96a40269b42a5421360724e93768b2958bdb Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 5 Jun 2023 09:56:50 +0930 Subject: [PATCH] fix(python): linked ansible used python to 3.11 see nofusscomputing/projects/ansible/execution_environment#9 for issue WRT the python version !24 nofusscomputing/infrastructure/config#22 nofusscomputing/infrastructure/config!27 nofusscomputing/projects/ansible/execution_environment#9 --- dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 8fff713..9b9cd9e 100644 --- a/dockerfile +++ b/dockerfile @@ -44,7 +44,10 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && mkdir -p /etc/ansible/roles \ && mkdir -p /etc/ansible/collections \ && mkdir -p /workdir \ - && apt list --installed + && apt list --installed \ + # see issue https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9 for following two lines + && rm /usr/bin/python3 \ + && ln -s /usr/local/bin/python3.11 /usr/bin/python3 WORKDIR /workdir