-
Notifications
You must be signed in to change notification settings - Fork 882
Enable devcontainers in repo. #6491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
fc560d3
DevContainer initial commit.
mitchdenny 956663b
WIP
mitchdenny 6afb544
WIP: devcontainer walkthrough.
mitchdenny 0637d5e
Changes.
mitchdenny 51e8389
Set host requirements.
mitchdenny 91ea30d
Fix codespace test so it can run under codespaces.
mitchdenny 56fa242
Introduce Codespaces options.
mitchdenny c87e7d9
Map Redis playground ports.
mitchdenny b23ccb1
Update src/Aspire.Hosting/Codespaces/CodespacesOptions.cs
mitchdenny d3ff895
Update src/Aspire.Hosting/Codespaces/CodespacesOptions.cs
mitchdenny b0edc56
Update src/Aspire.Hosting/Codespaces/CodespacesOptions.cs
mitchdenny 5bde6d6
Update src/Aspire.Hosting/Codespaces/CodespacesOptions.cs
mitchdenny b1f3fdb
Update src/Aspire.Hosting/Codespaces/CodespacesOptions.cs
mitchdenny 8ae2a44
Change when command runs to improve reliability.
mitchdenny ec128aa
Syntax error.
mitchdenny c96a2a0
Remove public API.
mitchdenny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
DevContainer initial commit.
- Loading branch information
commit fc560d3d7e30421fe1521a7dd763a30b11d054eb
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
| // README at: https://github.com/devcontainers/templates/tree/main/src/dotnet | ||
| { | ||
| "name": "C# (.NET)", | ||
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
| "image": "mcr.microsoft.com/devcontainers/dotnet:1-9.0", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/azure-cli:1": {}, | ||
| "ghcr.io/azure/azure-dev/azd:0": {}, | ||
| "ghcr.io/devcontainers/features/docker-in-docker": {} | ||
| }, | ||
|
|
||
| "containerEnv": { | ||
| "DOTNET_ROOT": "/workspaces/aspire/.dotnet" | ||
| }, | ||
|
|
||
| // Features to add to the dev container. More info: https://containers.dev/features. | ||
| // "features": {}, | ||
|
|
||
| // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
| // "forwardPorts": [5000, 5001], | ||
| // "portsAttributes": { | ||
| // "5001": { | ||
| // "protocol": "https" | ||
| // } | ||
| // } | ||
|
|
||
| // Use 'postCreateCommand' to run commands after the container is created. | ||
| "postCreateCommand": "rm -rf .dotnet && sudo chmod +x dotnet.sh && ./dotnet.sh restore", | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "ms-dotnettools.csdevkit" | ||
| ] | ||
| } | ||
| } | ||
|
|
||
| // Configure tool-specific properties. | ||
| // "customizations": {}, | ||
|
|
||
| // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
| // "remoteUser": "root" | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.