a02cb9ff74
In some build environments Docker is already installed - and adding podman is not an option. Add a new variable to toggle this, and rename the now incorrectly titled DIB_CONTAINERFILE_PODMAN_ROOT to just ...RUNTIME_ROOT to match. Change-Id: I677e4f491b40360dceabdf4f2a9e64c7cb493dc7 |
||
---|---|---|
.. | ||
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_RUNTIME`` to ``docker`` to use Docker for building images (default is ``podman``). Set ``DIB_CONTAINERFILE_RUNTIME_ROOT`` to ``1`` to run the runtime (Docker or ``podman``, per above) as ``root``.