This commit is contained in:
arviter
2023-07-29 22:36:35 +08:00
parent 9e89f39397
commit f8d421f209
3 changed files with 619 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ resource "coder_agent" "main" {
set -e
# install and start code-server
curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/cdr/code-server/main/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
curl -fsSL http://gitea.92hv.com/arviter/coder-docker/raw/branch/main/template/docker/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
EOT