Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 5 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:22-bookworm@sha256:7653612ebf9384fa1cbd32413d8f4fbf7daaf24e39e8664d9fc030de8c0c0af2
FROM mcr.microsoft.com/devcontainers/typescript-node:24-trixie@sha256:58cdebfe398bd451d5f51a567a00d9880691a17a93236d2be07354b80e6e289e

# VS Code/Electron share Chromium's native library requirements; playwright
# install-deps tracks that list upstream. xvfb enables headless test runs.
# install-deps tracks that list upstream. Electron also requires libgtk-3-0t64
# which Playwright skips (its bundled Chromium doesn't use GTK).
# xvfb enables headless test runs.
RUN npx --yes playwright install-deps chromium && \
apt-get update && \
apt-get install --yes --no-install-recommends xvfb && \
apt-get install --yes --no-install-recommends libgtk-3-0t64 xauth xvfb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /root/.npm
2 changes: 1 addition & 1 deletion .devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![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)

A ready-to-code environment matching CI: Node 22, pnpm, and `xvfb` for
A ready-to-code environment with Node 24 on Debian trixie, pnpm, and `xvfb` for
headless integration tests. Click the badge above (or run **Dev
Containers: Clone Repository in Container Volume…** from the command
palette) to spin it up.
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
]
}
},
"postCreateCommand": "pnpm install --frozen-lockfile"
"postCreateCommand": "pnpm install --frozen-lockfile --force"
}
2 changes: 1 addition & 1 deletion .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const baseConfig = {
files: "out/test/integration/**/*.test.js",
extensionDevelopmentPath: ".",
extensionTestsPath: "./out/test",
launchArgs: ["--enable-proposed-api", "coder.coder-remote"],
launchArgs: ["--enable-proposed-api", "coder.coder-remote", "--disable-gpu"],
mocha: {
ui: "tdd",
timeout: 20000,
Expand Down