From 63acb63b91a976105282d5b5ff35cd051fe37449 Mon Sep 17 00:00:00 2001 From: jank Date: Thu, 3 Jul 2025 19:01:12 +0200 Subject: [PATCH] fix: Correct python version --- images/actions/ansible/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/images/actions/ansible/Dockerfile b/images/actions/ansible/Dockerfile index dc32123..21c3e11 100644 --- a/images/actions/ansible/Dockerfile +++ b/images/actions/ansible/Dockerfile @@ -1,5 +1,8 @@ FROM catthehacker/ubuntu:act-latest -RUN apt update && apt install python3 -y -RUN python3 -m pip install ansible>=8.0.0 +RUN sudo add-apt-repository ppa:deadsnakes/ppa +RUN apt purge python3.10 -y +RUN apt update && apt install python3.12 python3.12-venv -y +RUN python3.12 -m ensurepip +RUN python3.12 -m pip install ansible>=8.0.0 RUN ansible --version