Last active
August 7, 2024 15:07
-
-
Save timheuer/694f8a3ef565b1cb5fbe616c9a1e18cc to your computer and use it in GitHub Desktop.
.NET 8 SDK devcontainer w/aspire
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": ".NET with Aspire", | |
"image": "mcr.microsoft.com/dotnet/sdk:8.0", | |
"features": { | |
"ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
"ghcr.io/devcontainers/features/github-cli:1": { | |
"version": "2" | |
}, | |
"ghcr.io/devcontainers/features/powershell:1": { | |
"version": "latest" | |
}, | |
"ghcr.io/azure/azure-dev/azd:0": { | |
"version": "latest" | |
}, | |
"ghcr.io/devcontainers/features/common-utils:2": {}, | |
"ghcr.io/nikiforovall/devcontainer-features/dotnet-aspire:1": {} | |
}, | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"ms-dotnettools.vscode-dotnet-runtime", | |
"ms-dotnettools.csdevkit" | |
] | |
} | |
}, | |
"postCreateCommand": "dotnet restore && dotnet dev-certs https" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, sdk:8.0 works on Debian 12 and currently there will be error during installation docker-in-docker.
For now you should use image with Debian 11 (.NET 7 or 6):
and then add .NET 8:
Best regards and happy coding