See the main repo for more informaton and background here.
sudo dnf install -y podman git
sudo setenforce permissive
git clone https://github.com/zearp/pumice-rocky && cd pumice-rocky
sudo nano config.xml && ls -lha root/
sudo podman run --privileged --rm -it --network=host -v /dev:/dev -v $PWD:/code:z -w /code quay.io/rockylinux/rockylinux:10 /bin/bash
rpm -i https://www.elrepo.org/elrepo-release-10.el10.elrepo.noarch.rpm
dnf -y install epel-release && dnf -y install kiwi policycoreutils dosfstools erofs-utils isomd5sum qemu-img xorriso && dnf -y --refresh update
sed -i "s/NPROC_PLACEHOLDER/$(nproc)/" config.xml
kiwi-ng --type=iso --profile="Pumice" --color-output system build --description="." --target-dir ./build-tmp && kiwi-ng result bundle --target-dir ./build-tmp --bundle-dir ./outdir --id build
rm -rf ./build-tmp
If you want to build another delete the output folder with rm -rf outdir and don't exit here. Then make config or file changes in another shell for faster rebuilds. If you are don't just exit the container with the exit command. To rebuild just run the kiwi-ng commands again.
sudo rm -rf /replace/with/path/to/pumice-rocky
sudo podman system prune --all --volumes --force