@Robert (p5) you showed an action that installed podman in CI the other day, I wonder if we can use some of brew's CI features to get what we want in the image.
The CLI and non-interactive flags will be helpful. So long as we are inside a podman container or docker container we can run the installer script as root
so my initial thought is we install via a bind mount from /usr/share/homebrew or something. And then have an overlay mount at boot time to make the location mutable and the overlay comes from something /var/lib/homebrew
i think we need to do symlink for build time since we don't use the privileged flag when building the container and can't do bind mounts inside the container