Upstream rockylinux:9.3 images don't contain systemd, which means running /sbin/init for molecule fails.
Previously the workaround was to use "/bin/bash -c 'dnf -y install systemd && /sbin/init'" as the container command but this was very flaky. Instead CI now builds an image containing systemd using the upstream rockylinux:9.3 image. This ensures that the image used for the molecule workflow is always updated.
Upstream rockylinux:9.3 images don't contain systemd, which means running
/sbin/init
for molecule fails.Previously the workaround was to use "/bin/bash -c 'dnf -y install systemd && /sbin/init'" as the container command but this was very flaky. Instead CI now builds an image containing systemd using the upstream rockylinux:9.3 image. This ensures that the image used for the molecule workflow is always updated.