How to Choose What to Build?

Looking at those YAML files that are used to define images, there appear to be various versions and flavours of images that can be built from a single YAML file. But I haven’t figured out how choose which version and flavour to build?

So far, I’ve been building Debian 12 images. Now I want to also build other images, not only Debian 13, as well, but I have no idea about what kind of incantations I should use

Can someone please help me out?

The YAML found are found at lxc-ci/images at main · lxc/lxc-ci · GitHub

The parameters for distrobuilder for each image can be obtained by looking into the build logs at https://images.linuxcontainers.org/ (see the Build Date column and following the links). The command is found in the build.log file.

For example, for AlmaLinux 10, the parameters are:

distrobuilder --cache-dir /root/build/cache/ --timeout 7200 build-dir image.yaml rootfs -o image.serial=20250906_23:08 -o image.architecture=x86_64 -o image.release=10 -o image.variant=default -o source.variant=boot
1 Like

Thank you very much! I was missing these pieces:

-o image.serial=20250906_23:08 -o image.architecture=x86_64 -o image.release=10 -o image.variant=default -o source.variant=boot