aurora/build_files/base/10-brew.sh
m2 f833e1f6a5
refactor: Reorganize Build Process (#1867)
Signed-off-by: m2 <69128853+m2Giles@users.noreply.github.com>
Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org>
2024-11-05 04:13:24 +00:00

16 lines
402 B
Bash
Executable file

#!/usr/bin/bash
set -xeou pipefail
# Convince the installer we are in CI
touch /.dockerenv
# Make these so script will work
mkdir -p /var/home
mkdir -p /var/roothome
# Brew Install Script
curl -Lo /tmp/brew-install https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
chmod +x /tmp/brew-install
/tmp/brew-install
tar --zstd -cvf /usr/share/homebrew.tar.zst /home/linuxbrew/.linuxbrew