This uses the rpm list from here as an input in rpms.in: https://gitlab.com/CentOS/automotive/container-images/-/raw/main/images/autosd-buildbox/Containerfile?ref_type=heads
Generate rpms.txt by using the dnf lockfile plugin prototype like this:
❯ dnf lockfile --recursive $(cat rpms.in)
Wrote 406 packages to rpms.txt
Install them like this: