Skip to content

Commit

Permalink
wip: touch /.dockerenv to try and get homebrew to install
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwohlgemuth committed Jun 19, 2024
1 parent e6d2f2c commit f3be9d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions provision/scripts/dev/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ apt-get install --no-install-recommends --yes \
locales \
neovim \
openssh-server \
procps \
python3-dev \
python3-venv \
python3-pip \
python3-setuptools \
rlwrap \
screen \
software-properties-common \
stow \
tree \
tzdata \
Expand Down
5 changes: 4 additions & 1 deletion provision/scripts/dev/install_homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ main() {
#
# Install Homebrew
#
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
touch /.dockerenv
NONINTERACTIVE=1 \
HOMEBREW_NO_INSTALL_FROM_API=1 \
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# shellcheck disable=SC2016
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> "${HOME}/.zshrc"
}
Expand Down

0 comments on commit f3be9d2

Please sign in to comment.