From 40e46cd22e6dab013fd04b3c6f479e143c1b424c Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 1 Aug 2023 06:15:04 +0930 Subject: [PATCH] fix(python): removed python3.9 as it as causing issues with 3.11 !89 fixes #9 --- dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index 1f922c8..109ac2c 100644 --- a/dockerfile +++ b/dockerfile @@ -48,14 +48,15 @@ RUN apt update \ openssh-client \ git \ sshpass \ - && rm -rf /var/lib/apt/lists/* \ && mkdir -p /etc/ansible/roles \ && mkdir -p /etc/ansible/collections \ && mkdir -p /workdir \ && 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 + && apt remove -y \ + python3* \ + libpython3* \ + && rm -rf /var/lib/apt/lists/* WORKDIR /workdir