-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add buildah as container runtime #721
Comments
I know that in newer version of the ADT container, they made some changes to how they built that container that allows |
I am already on community-ansible-dev-tools:v2024.12.0 (latest) which was released two days ago. Unfortunately, I still get the same error: podman masks parts of /proc which results in failure of the RUN statement of the generated containerfile during As podman is primarily for running pods and containers, wouldn't it make more sense to use buildah anyway? It is specifically engineered for building container images and that's what ansible-builder is doing at its heart. |
Can you use |
Good Afternoon.
Podman has some limitations/features especially when run as Podman in Podman. E.g. masking of some paths in /proc for security reasons. This leads to errors like:
when running ansible-builder from within the Ansible Dev Tools container which itself is executed in a CI pipeline running on a docker/podman executor.
However, building the Containerfile with buildah, e.g. from quay.io/containers/buildah:lastest runs flawlessly. In the end it would be nice to have buildah also added to the dev tools container but integration into ansible-builder as selectable container runtime would be a good first step IMHO.
BR
Jens
The text was updated successfully, but these errors were encountered: