Hello David,

On 17/12/2025 10:56 am, David Gow wrote:
On Wed, 10 Dec 2025 at 21:58, Guillaume Tucker via
lists.yoctoproject.org <[email protected]>
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 <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Link: 
https://lore.kernel.org/all/[email protected]/
Signed-off-by: Guillaume Tucker <[email protected]>
---

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.

Many thanks for your feedback, I'm glad that worked for you.

Yes, the default 'gcc' image doesn't actually work in practice.  I've
proposed something else in another email to drop the default for now
but aim to provide "first-party" container images using kernel.org
toolchains which may give us some useful default later on.

Then good point about the default container runtime, I'll update the
logic to automatically look for Docker and Podman - basically iterate
through the supported runtimes - in the v2.

Cheers,
Guillaume



Reply via email to