|
| 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 |
1 | 3 | { |
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. |
3 | 21 | "customizations": { |
4 | 22 | "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 | | - }, |
15 | 23 | "extensions": [ |
16 | 24 | "EditorConfig.EditorConfig", |
17 | 25 | "mads-hartmann.bash-ide-vscode" |
18 | 26 | ] |
19 | 27 | } |
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" |
30 | 32 | } |
0 commit comments