Skip to content

Commit e0e58bb

Browse files
committed
chore: use latest code-server in example template
Instead, leave a comment describing how to pin the version. This should negate the need to continually update the version in this example.
1 parent 6c2336b commit e0e58bb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/templates/docker/main.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ resource "coder_agent" "main" {
3535
touch ~/.init_done
3636
fi
3737
38-
# install and start code-server
39-
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.19.1
38+
# Install the latest code-server.
39+
# Append "--version x.x.x" to install a specific version of code-server.
40+
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server
41+
42+
# Start code-server in the background.
4043
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
4144
EOT
4245

0 commit comments

Comments
 (0)