Skip to content

Commit b794761

Browse files
Use a more cross-architecture-friendly devcontainer image. (#2034)
1 parent ffa30a7 commit b794761

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
// 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/universal
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/go
33
{
44
"name": "TypeScript Compiler Development",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
7-
6+
"image": "mcr.microsoft.com/devcontainers/go:2-1.25-bookworm",
87
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
8+
"features": {
9+
"ghcr.io/devcontainers/features/node:1": {
10+
"version": "lts",
11+
"pnpmVersion": "latest",
12+
"nvmVersion": "latest"
13+
},
14+
"ghcr.io/devcontainers-extra/features/dprint-asdf:2": {
15+
"version": "latest"
16+
},
17+
"ghcr.io/devcontainers/features/rust:1": {}
18+
},
1019

1120
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1221
// "forwardPorts": [],

0 commit comments

Comments
 (0)