aurora/build_files/base/brew.sh

19 lines
329 B
Bash
Raw Normal View History

2024-05-15 17:45:37 -08:00
#!/usr/bin/bash
set -xeou pipefail
# Convince the installer we are in CI
if [[ ! -f /.dockerenv ]]; then
touch /.dockerenv
fi
# Make these so script will work
mkdir -p /var/home
mkdir -p /var/roothome
# Install brew
/usr/libexec/brew-install
# Copy to image and own by UID 1000
cp -R /home/linuxbrew /usr/share/homebrew