From 48e4defedc9d3f1f741ee34624e0efc7af816f91 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 2 Dec 2026 14:46:31 +0100 Subject: [PATCH] fix(rl10): install tools via pip --- Dockerfile.rockylinux10 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile.rockylinux10 b/Dockerfile.rockylinux10 index 6255465..971f724 100644 --- a/Dockerfile.rockylinux10 +++ b/Dockerfile.rockylinux10 @@ -8,12 +8,8 @@ RUN dnf update --assumeyes && \ dnf remove --assumeyes epel-release && \ dnf clean all -# We must change python to 3.12 (default 3.9), to be compliant with ansible-core. Furthermore, we must upgrade pip to -# latest version. Otherwise is still used pip for python 3.9. At least, we install boto3, which is required for the aws -# dynamic inventory manually, because the official python-boto3 package is for python 3.9. At least, we install -# ansible-lint via pip to be able to lint ansible roles. -RUN ln --symbolic --force /usr/bin/python3.12 /usr/bin/python3 && \ - curl --fail --silent --location https://bootstrap.pypa.io/get-pip.py --output get-pip.py && \ +# Install tools via pip +RUN curl --fail --silent --location https://bootstrap.pypa.io/get-pip.py --output get-pip.py && \ python3 get-pip.py && \ pip install ansible-lint boto3 passlib