Skip to content

Commit 10fa8f9

Browse files
Update Dev Container configuration
1 parent 87f4b9f commit 10fa8f9

1 file changed

Lines changed: 23 additions & 21 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
13
{
2-
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
4+
"name": "devcontainers",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:24-trixie",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
11+
"moby": false
12+
},
13+
"ghcr.io/CargoSense/devcontainer-features/shellcheck:1": {
14+
"version": "latest"
15+
},
16+
"ghcr.io/devcontainers-extra/features/devcontainers-cli:1": {},
17+
"ghcr.io/devcontainers-extra/features/shfmt:1": {}
18+
},
19+
20+
// Configure tool-specific properties.
321
"customizations": {
422
"vscode": {
5-
"settings": {
6-
"json.schemas": [
7-
{
8-
"fileMatch": [
9-
"*/devcontainer-feature.json"
10-
],
11-
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json"
12-
}
13-
]
14-
},
1523
"extensions": [
1624
"EditorConfig.EditorConfig",
1725
"mads-hartmann.bash-ide-vscode"
1826
]
1927
}
20-
},
21-
"features": {
22-
"ghcr.io/CargoSense/devcontainer-features/actionlint:1": {},
23-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
24-
"ghcr.io/CargoSense/devcontainer-features/shellcheck:1": {
25-
"version": "latest"
26-
}
27-
},
28-
"remoteUser": "node",
29-
"updateContentCommand": "npm install -g @devcontainers/cli"
28+
}
29+
30+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
31+
// "remoteUser": "root"
3032
}

0 commit comments

Comments
 (0)