chore: use latest code-server in examples (#14030)

Instead, leave a comment describing how to pin the version.  This negates
the need to continually update the version in the examples.
This commit is contained in:
Asher
2024-07-26 21:53:17 +00:00
committed by GitHub
parent d68340b125
commit d8ddce8628
13 changed files with 67 additions and 29 deletions
+5 -2
View File
@@ -56,8 +56,11 @@ resource "coder_agent" "main" {
os = "linux"
startup_script = <<EOF
#!/bin/sh
# install and start code-server
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
# Install the latest code-server.
# Append "-s -- --version x.x.x" to install a specific version of code-server.
curl -fsSL https://code-server.dev/install.sh | sh
# Start code-server.
code-server --auth none --port 13337
EOF