We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7339b91 commit 85aa2d3Copy full SHA for 85aa2d3
1 file changed
templates/kubernetes/homelab-workspace/script-prepare-workspace.sh
@@ -10,6 +10,8 @@ install_homebrew() {
10
# we don't want to give any users within the coder workspace the ability to sudo, so this is a workaround
11
# see: https://github.com/Homebrew/install/blob/7e3a5202cd6d783a2464e387433c4c72acdb0f49/install.sh#L366
12
touch /.dockerenv
13
+ # create cache dir if it does not exist
14
+ mkdir -p "/home/${brew_user}/.cache/Homebrew"
15
HOME="/home/${brew_user}" NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
16
}
17
0 commit comments