11// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
33{
4- "name" : " .net dev" ,
5- // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6- "image" : " mcr.microsoft.com/devcontainers/dotnet:1-9.0-bookworm" ,
7- "features" : {
8- "ghcr.io/devcontainers/features/docker-in-docker:2" : {}
9- },
10-
11- // Configure tool-specific properties.
12- "customizations" : {
4+ "name" : " .net dev" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/dotnet:1-9.0-bookworm" ,
7+ "features" : {
8+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
9+ "ghcr.io/devcontainers/features/dotnet:2" : {
10+ "version" : " 9.0" ,
11+ "workloads" : " aspire"
12+ }
13+ },
14+ // Configure tool-specific properties.
15+ "customizations" : {
1316 "vscode" : {
1417 "extensions" : [
1518 " GitHub.copilot-chat" ,
2124 ]
2225 }
2326 }
24-
25- // Features to add to the dev container. More info: https://containers.dev/features.
26- // "features": {},
27-
28- // Use 'forwardPorts' to make a list of ports inside the container available locally.
29- // "forwardPorts": [5000, 5001],
30- // "portsAttributes": {
31- // "5001": {
32- // "protocol": "https"
33- // }
34- // }
35-
36- // Use 'postCreateCommand' to run commands after the container is created.
37- // "postCreateCommand": "dotnet restore",
38-
39- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
40- // "remoteUser": "root"
41- }
27+ // Features to add to the dev container. More info: https://containers.dev/features.
28+ // "features": {},
29+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
30+ // "forwardPorts": [5000, 5001],
31+ // "portsAttributes": {
32+ // "5001": {
33+ // "protocol": "https"
34+ // }
35+ // }
36+ // Use 'postCreateCommand' to run commands after the container is created.
37+ // "postCreateCommand": "dotnet restore",
38+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
39+ // "remoteUser": "root"
40+ }
0 commit comments