更新 template/docker/main.tf
update file
This commit is contained in:
@@ -31,9 +31,12 @@ resource "coder_agent" "main" {
|
||||
startup_script = <<-EOT
|
||||
set -e
|
||||
|
||||
# install and start code-server
|
||||
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 &
|
||||
|
||||
# Install and start mscode (VS Code CLI)
|
||||
curl -fsSL http://gitea.92hv.com/arviter/coder-docker/raw/branch/main/template/docker/install.sh | sh -s -- --version insider --prefix=/usr/local
|
||||
|
||||
# 启动 VS Code CLI Web
|
||||
mscode serve-web --accept-server-license-terms --host 0.0.0.0 --port 13337 >/tmp/mscode.log 2>&1 &
|
||||
EOT
|
||||
|
||||
# These environment variables allow you to make Git commits right away after creating a
|
||||
|
||||
Reference in New Issue
Block a user