Skip to content

Commit

Permalink
chore: don't download brew twice
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed May 13, 2024
1 parent 34d3d84 commit 268b206
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build_files/base/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -xeou pipefail

curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh > /tmp/brew.sh
chmod +x /tmp/brew.sh

# Convince the installer we are in CI
if [[ ! -f /.dockerenv ]]; then
touch /.dockerenv
Expand All @@ -15,7 +12,7 @@ mkdir -p /var/home
mkdir -p /var/roothome

# Install brew, Get portable Ruby
/tmp/brew.sh
/usr/libexec/brew-install
/home/linuxbrew/.linuxbrew/bin/brew update

# Copy to image and own by UID 1000
Expand Down

0 comments on commit 268b206

Please sign in to comment.