It appears that Homebrew made a major update, changed how casks work and where they are stored. As a result of this every time a build runs on a MacOS container that uses brew, it spends 7-10 minutes moving the cask files, before continuing on to do anything else. This has about doubled our build times. We have tried to use the save state feature, however it does not seem to be applying for any path outside of the working folder.
Is there any way we could get the MacOS base container updated with the latest Homebrew, so that this migration of packages is done once and no longer needs to be done on each run?