Skip to content

Commit 514fdfd

Browse files
committed
feat: add devcontainer
Signed-off-by: Romain Beuque <[email protected]>
1 parent b19a8e4 commit 514fdfd

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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/dotnet
3+
{
4+
"name": "csharp-ovh",
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 to add to the dev container. More info: https://containers.dev/features.
8+
// "features": {},
9+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
10+
// "forwardPorts": [5000, 5001],
11+
// "portsAttributes": {
12+
// "5001": {
13+
// "protocol": "https"
14+
// }
15+
// }
16+
// Use 'postCreateCommand' to run commands after the container is created.
17+
// "postCreateCommand": "dotnet restore",
18+
// Configure tool-specific properties.
19+
// "customizations": {},
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
22+
}

0 commit comments

Comments
 (0)