Re: [Automated-testing] [PATCH v1 1/2] scripts: add tool to run containerized builds
From: David Gow
Date: Wed Dec 17 2025 - 04:58:44 EST
On Wed, 10 Dec 2025 at 21:58, Guillaume Tucker via
lists.yoctoproject.org <gtucker=gtucker.io@xxxxxxxxxxxxxxxxxxxxxx>
wrote:
>
> Add a 'scripts/container' tool written in Python to run any command in
> the source tree from within a container. This can typically be used
> to call 'make' with a compiler toolchain image to run reproducible
> builds but any arbitrary command can be run too. Only Docker and
> Podman are supported for this initial version.
>
> Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
> Cc: Miguel Ojeda <ojeda@xxxxxxxxxx>
> Link: https://lore.kernel.org/all/affb7aff-dc9b-4263-bbd4-a7965c19ac4e@xxxxxxxxxx/
> Signed-off-by: Guillaume Tucker <gtucker@xxxxxxxxxx>
> ---
I gave this a go, and am liking it so far. My only real complaints are
that the defaults don't totally match my prejudices. :-)
Having a good default container, and perhaps falling back
automatically to podman if docker isn't running (or just defaulting to
podman) would make this very convenient for one-line
tests/reproducers.
-- David
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature