Skip to content

Commit ac761ea

Browse files
committed
feat: Add devcontainer configuration for BridgingIT.DevKit.Examples.GettingStarted
1 parent 90f859e commit ac761ea

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"name": "BridgingIT.DevKit.Examples.GettingStarted",
3+
"image": "mcr.microsoft.com/devcontainers/dotnet:dev-10.0-noble",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {},
6+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
7+
"ghcr.io/devcontainers/features/powershell:1": {},
8+
"ghcr.io/devcontainers/features/azure-cli:1": {},
9+
"ghcr.io/devcontainers/features/copilot-cli:1": {},
10+
"ghcr.io/devcontainers-extra/features/btop-homebrew:1": {},
11+
"ghcr.io/devcontainers-extra/features/opencode:1": {},
12+
"ghcr.io/jlaundry/devcontainer-features/mssql-odbc-driver:1": {},
13+
"ghcr.io/devcontainers/features/common-utils:2": {},
14+
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
15+
"packages": "openssh-server,openjdk-25-jre" // needed for Rider
16+
}
17+
},
18+
"remoteEnv": {
19+
"ASPNETCORE_ENVIRONMENT": "Development"
20+
},
21+
"postCreateCommand": "pwsh -Command './bdk.ps1 -Task restore; ./bdk.ps1 -Task build'",
22+
"forwardPorts": [5000, 5001, 8080, 9090],
23+
"portsAttributes": {
24+
"5000": {
25+
"label": "Kestrel HTTP",
26+
"onAutoForward": "notify"
27+
},
28+
"5001": {
29+
"label": "Kestrel HTTPS",
30+
"onAutoForward": "notify"
31+
},
32+
"8080": {
33+
"label": "API HTTP",
34+
"onAutoForward": "notify"
35+
},
36+
"9090": {
37+
"label": "Seq Dashboard",
38+
"onAutoForward": "notify"
39+
}
40+
},
41+
"customizations": {
42+
"vscode": {
43+
"extensions": [
44+
"ms-dotnettools.csharp",
45+
"ms-dotnettools.vscode-dotnet-runtime",
46+
"ms-vscode.makefile-tools",
47+
"ms-vscode-remote.remote-containers",
48+
"EditorConfig.EditorConfig",
49+
"ms-azuretools.vscode-docker"
50+
],
51+
"settings": {
52+
"telemetry.enableTelemetry": false,
53+
"dotnetAcquisitionExtension.enableTelemetry": false,
54+
"dotnet.defaultSolutionOrFolder": "${workspaceFolder}",
55+
"editor.formatOnSave": true,
56+
"editor.defaultFormatter": "ms-dotnettools.csharp",
57+
"[csharp]": {
58+
"editor.defaultFormatter": "ms-dotnettools.csharp",
59+
"editor.formatOnSave": true
60+
}
61+
}
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)