diskimage-builder/diskimage_builder/elements/containerfile
Ian Wienand 3833c2e59c containerfile: fix tar extraction
Ic68e8c5b839cbc2852326747c68ef89f630f26a3 removed the sudo from the
tar extraction here, meaning that production is failing to create the
chroot.  This is hidden in testing because
DIB_CONTAINERFILE_PODMAN_ROOT is set.  Make the sudo here
unconditional.

Change-Id: I6e36e3fc65981f85fad12ea2cd10780fde9c37da
2021-11-10 11:42:49 +11:00
..
root.d containerfile: fix tar extraction 2021-11-10 11:42:49 +11:00
test-elements/focal-build-succeeds Run functional tests on Debian Bullseye 2021-10-20 09:39:27 +11:00
element-provides Add containerfile element 2021-05-07 13:54:59 +10:00
README.rst Run functional tests on Debian Bullseye 2021-10-20 09:39:27 +11:00

=============
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`.