update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2022-12-01 22:06:37 -05:00
parent 63c25124f6
commit 846c9e11c8

View File

@ -51,6 +51,13 @@ resource "coder_agent" "main" {
# install and start code-server
curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log
code-server --auth none --port 13337 | tee code-server-install.log &
# Update apk
for repo in main community testing ; do
REPO="$HOME/packages/$repo"
grep -q "^$REPO" /etc/apk/repositories || (echo $REPO | sudo tee -a /etc/apk/repositories)
done
sudo apk update
EOT
}