Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix version to 1.82.0
  • Loading branch information
matifali authored Sep 10, 2023
commit 577d11dab9b715263f5815ecdbcea105f202ddb8
4 changes: 3 additions & 1 deletion docs/ides/web-ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,15 @@ resource "coder_agent" "main" {
startup_script = <<EOF
#!/bin/sh
# install VS Code
curl -L "https://update.code.visualstudio.com/latest/linux-deb-x64/stable" -o /tmp/code.deb
curl -L "https://update.code.visualstudio.com/1.82.0/linux-deb-x64/stable" -o /tmp/code.deb
sudo dpkg -i /tmp/code.deb && sudo apt-get install -f -y
# start the web server on a specific port
code serve-web --port 13338 --without-connection-token --accept-server-license-terms >/tmp/vscode-web.log 2>&1 &
EOF
}
```
> [!NOTE]
> `code serve-web` was introduced in version 1.82.0 (August 2023).

You also need to add a `coder_app` resource for this,

Expand Down