Skip to content

Commit 03e498c

Browse files
authored
chore: upgrade devcontainer to Node 24 on Debian trixie (#914)
1 parent 781a79b commit 03e498c

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM mcr.microsoft.com/devcontainers/typescript-node:22-bookworm@sha256:7653612ebf9384fa1cbd32413d8f4fbf7daaf24e39e8664d9fc030de8c0c0af2
1+
FROM mcr.microsoft.com/devcontainers/typescript-node:24-trixie@sha256:58cdebfe398bd451d5f51a567a00d9880691a17a93236d2be07354b80e6e289e
22

33
# VS Code/Electron share Chromium's native library requirements; playwright
4-
# install-deps tracks that list upstream. xvfb enables headless test runs.
4+
# install-deps tracks that list upstream. Electron also requires libgtk-3-0t64
5+
# which Playwright skips (its bundled Chromium doesn't use GTK).
6+
# xvfb enables headless test runs.
57
RUN npx --yes playwright install-deps chromium && \
68
apt-get update && \
7-
apt-get install --yes --no-install-recommends xvfb && \
9+
apt-get install --yes --no-install-recommends libgtk-3-0t64 xauth xvfb && \
810
apt-get clean && \
911
rm -rf /var/lib/apt/lists/* /root/.npm

.devcontainer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/coder/vscode-coder)
44

5-
A ready-to-code environment matching CI: Node 22, pnpm, and `xvfb` for
5+
A ready-to-code environment with Node 24 on Debian trixie, pnpm, and `xvfb` for
66
headless integration tests. Click the badge above (or run **Dev
77
Containers: Clone Repository in Container Volume…** from the command
88
palette) to spin it up.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
]
1515
}
1616
},
17-
"postCreateCommand": "pnpm install --frozen-lockfile"
17+
"postCreateCommand": "pnpm install --frozen-lockfile --force"
1818
}

.vscode-test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const baseConfig = {
1010
files: "out/test/integration/**/*.test.js",
1111
extensionDevelopmentPath: ".",
1212
extensionTestsPath: "./out/test",
13-
launchArgs: ["--enable-proposed-api", "coder.coder-remote"],
13+
launchArgs: ["--enable-proposed-api", "coder.coder-remote", "--disable-gpu"],
1414
mocha: {
1515
ui: "tdd",
1616
timeout: 20000,

0 commit comments

Comments
 (0)