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

Commit3a6f5a8

Browse files
committed
chore: update install of code-server in envbox template
Update the installation to match the other templates, in particular:* Install using standalone method* Install to /tmp* Close parent stderr stream (write code-server stderr to log file)
1 parentd77eb70 commit3a6f5a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎examples/templates/envbox/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ resource "coder_agent" "main" {
104104
fi
105105
106106
# Install the latest code-server.
107-
# Append "-s -- --version x.x.x" to `sh` to install a specific version of code-server.
108-
curl -fsSL https://code-server.dev/install.sh | sh| teecode-server-install.log
107+
# Append "--version x.x.x" to install a specific version of code-server.
108+
curl -fsSL https://code-server.dev/install.sh | sh-s -- --method=standalone --prefix=/tmp/code-server
109109
110110
# Start code-server in the background.
111-
code-server --auth none --port 13337| teecode-server-install.log &
111+
/tmp/code-server/bin/code-server --auth none --port 13337>/tmp/code-server.log 2>&1 &
112112
EOT
113113
}
114114

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp