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