mirror of
https://github.com/coder/coder.git
synced 2025-08-01 08:28:48 +00:00
refactor: pin code-server to 4.8.3 (#5440)
* chore(templates): pin code-server to 4.8.3 * docs: use code-server 4.8.3 in install snippets
This commit is contained in:
@@ -51,7 +51,8 @@ resource "coder_agent" "main" {
|
||||
startup_script = <<EOF
|
||||
#!/bin/sh
|
||||
# install and start code-server
|
||||
curl -fsSL https://code-server.dev/install.sh | sh
|
||||
# remove '-s -- --version 4.8.3' to install the latest version
|
||||
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
|
||||
code-server --auth none --port 13337
|
||||
EOF
|
||||
}
|
||||
@@ -63,7 +64,7 @@ For advanced use, we recommend installing code-server in your VM snapshot or con
|
||||
FROM codercom/enterprise-base:ubuntu
|
||||
|
||||
# install a specific code-server version
|
||||
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.3.0
|
||||
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.8.3
|
||||
|
||||
# pre-install versions
|
||||
RUN code-server --install-extension eamodio.gitlens
|
||||
|
@@ -153,8 +153,8 @@ resource "coder_agent" "coder" {
|
||||
startup_script = <<EOT
|
||||
#!/bin/bash
|
||||
|
||||
# install code-server
|
||||
curl -fsSL https://code-server.dev/install.sh | sh
|
||||
# install code-server 4.8.3
|
||||
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
|
||||
|
||||
# The & prevents the startup_script from blocking so the
|
||||
# next commands can run.
|
||||
|
Reference in New Issue
Block a user