Skip to content

Commit 80b63fe

Browse files
author
Cam Soper
authored
Adding devcontainer pinned to latest official image (#44042)
1 parent 00e7703 commit 80b63fe

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "C# (.NET)",
3+
"image": "mcr.microsoft.com/devcontainers/dotnet:latest"
4+
5+
// Features to add to the dev container. More info: https://containers.dev/features.
6+
// "features": {},
7+
8+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
9+
// "forwardPorts": [5000, 5001],
10+
// "portsAttributes": {
11+
// "5001": {
12+
// "protocol": "https"
13+
// }
14+
// }
15+
16+
// Use 'postCreateCommand' to run commands after the container is created.
17+
// "postCreateCommand": "dotnet restore",
18+
19+
// Configure tool-specific properties.
20+
// "customizations": {},
21+
}

0 commit comments

Comments
 (0)