Skip to content

Commit c7fa842

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 c7fa842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/templates/docker/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ 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+
# Add "--version x.x.x" to install a specific code-server version.
39+
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server
4040
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
4141
EOT
4242

0 commit comments

Comments
 (0)