Homebrew packages caching

When installing packages with Homebrew during a build, the packages are not cached. I’m installing texlive via the Brewfile.netlify, as shown below, but every build takes 20 minutes to reinstall texlive.

Is there a way to cache Homebrew-installed packages so they don’t need to be reinstalled with every build?

brew "perl"
brew "texlive" 

Homebrew is in alpha and we have also talked about deprecating it in the past. Given that, I don’t anticipate any changes in this area for the considerable future.

1 Like