build-image icon indicating copy to clipboard operation
build-image copied to clipboard

Run homebrew install before other installs

Open vbrown608 opened this issue 4 years ago • 2 comments

We can use Homebrew to install system libraries that may be required by Python/Ruby/Node packages. For that reason, we should run the Homebrew installation step before installing other languages' packages.

vbrown608 avatar Jan 12 '21 18:01 vbrown608

+1 for this, can't install pg Rubygem because it needs libpq, but the Brewfile is executed AFTER bundling Rubygems, so this fails.

ryantownsend avatar Dec 12 '21 21:12 ryantownsend

I've created a PR to address this: https://github.com/netlify/build-image/pull/705

ryantownsend avatar Dec 12 '21 21:12 ryantownsend