85e20d9852
Refactor things to use explicit names, and put in a trap to cleanup after any errors. Currently, if the build/run/export steps fail, it leaves behind images which eventually clog things to the point podman won't run any more (see also https://github.com/containers/podman/pull/12233 about errors seen due to this) Change-Id: Ib328a07ad67e3f71f379fbf34ae7ef74e212ef1c |
||
---|---|---|
.. | ||
root.d | ||
test-elements/focal-build-succeeds | ||
element-provides | ||
README.rst |
============= containerfile ============= Base element for creating images from container files (aka Dockerfiles). Usually this element will be called via a more specific distro element which provides an environment for building a full image. This element will search active elements for a container file located in `containerfiles/${DIB_RELEASE}`. Alternatively, to use this element directly supply the path to a container file in the environment variable `DIB_CONTAINERFILE_DOCKERFILE`. Set ``DIB_CONTAINERFILE_PODMAN_ROOT`` to ``1`` to run `podman` as `root`.