Fix brew packages install and Xcode install

This commit is contained in:
2024-04-23 00:40:48 +02:00
parent 361db339ef
commit 7871e2eb32

View File

@@ -32,7 +32,7 @@ echo Installing Homebrew ...
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh|ssh 127.0.0.1 bash
# (gmp is a hack for ruby)
echo Installing packages ...
ssh 127.0.0.1 '/usr/local/bin/brew install node@20 libyaml gmp mas'
echo /usr/local/bin/brew install node@20 libyaml gmp mas|ssh 127.0.0.1 bash
# Create base directories for act and drone
echo mkdir /Users/mac/drone|ssh 127.0.0.1 bash
echo -e "drone\tUsers/mac/drone" | ssh 127.0.0.1 'sudo tee "/etc/synthetic.conf"'
@@ -64,4 +64,4 @@ read -p "Press any key to when done.. " -n1 -s
## Install apps from Mac App Store (497799835 - Xcode)
echo Installing apps from Mac App Store
docker exec -i $cntName /usr.orig/bin/ssh 127.0.0.1 'mas install 497799835'
docker exec -i $cntName /usr.orig/bin/ssh 127.0.0.1 '/usr/local/bin/mas install 497799835'