Something like this should work eventually
FROM ghcr.io/macoscontainers/macos-jail/ventura:latest
RUN mkdir /tmp /var/folders
ENV HOME=/
ENV NONINTERACTIVE=1
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Something like this should work eventually