Consider minimal image
I don't really know what this is for, but it might be worth looking at the fedora-minimal
image to make things smaller. You have to use microdnf
rather than the full fat dnf
. Also, I doubt it would make much of a difference.