Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite0e58bb

Browse files
committed
chore: use latest code-server in example template
Instead, leave a comment describing how to pin the version. This shouldnegate the need to continually update the version in this example.
1 parent6c2336b commite0e58bb

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)

[8]ページ先頭

©2009-2025 Movatter.jp