miso
Builds images of systemd-based operating systems from a Dockerfile-style file, with caching and several output formats.
How it works
miso builds operating system images from a build file that looks like a Dockerfile. Each step is cached as a layer. The result comes out as standard systemd artifacts, like disk images, ISOs, root file systems, system extensions and the files systemd-sysupdate uses.
A CHECK step boots the image and runs a command in it before the build writes anything. miso only builds images. It doesn't apply updates or configure machines.
Status
Released. It runs on Linux on amd64 and arm64 and needs access to /dev/kvm.
Try it
This build file makes a Debian disk with htop in it. miso build -o out builds it, boots it to check that htop is there, and writes out/os.raw.
FROM debian:sid
RUN apt-get update && apt-get install -y --no-install-recommends systemd-boot-efi htop
RUN : > /etc/fstab
CMDLINE rw console=ttyS0
PARTITION esp Type=esp Format=vfat CopyFiles=/efi:/ SizeMinBytes=256M SizeMaxBytes=256M
PARTITION root Type=root Format=ext4 CopyFiles=/:/ SizeMinBytes=3G
OUTPUT disk os.raw
CHECK command -v htopThere's more in the documentation (opens in a new tab).