Weird is that the warning says you should rather use ansible-runner >= 3.0.0. But I am using release 3.0.0. And still the base image comes from a defunct repository.
So, after looking around what other image should be used by default instead, it seems there is no such thing. Everybody uses whatever fits their needs.
I thought about using the shipped image as the base: “quay.io/ansible/awx-ee”. It seems to work when just adding collections and pip packages.
Can you link to any documentation that still references quay.io/ansible/ansible-runner:latest because with the upgrade to ansible-builder v3, that is no longer maintained. We’ll try to fix any docs that need to be updated.
If you want to start from a minimal image and add your stuff, you should use the ansible-builder tool itself. This can generate a Dockerfile which uses a true minimal base image like centos-stream or whatever you want.
If that’s confusing, or you don’t want to use the tool, then you could start from any image that was built using the builder tool, as an alternative. Since the old ansible-runner image is deprecated, nothing is officially pushing minimal images, and because of this, I stared https://github.com/AlanCoding/zen-ee which I am maintaining personally so that there’s an “off-the-shelf” minimal image. However, there’s no magic behind it, so you should be able to see how it’s using ansible-builder and can go your own way pretty easily.