Feature / Added Support for Dev Containers (GitHub Codespaces) #66
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.
Purpose
Dev Containers provides configuration-as-code support for developer environment setup.
Launch repo in GitHub Codespaces (cloud) or Docker Desktop (local) for quickstart setup. This PR adds the
.devcontainer/
folder with initial configuration files that match other azd templates for AI projects.A second (minor) change involves making postprovision scripts executable so they can be automatically run as azd hooks from the command-line in a dev container environment
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
Click the "Code" tab in GitHub repository (in browser) to launch the repository.
If container setup is valid, you will get a VS Code editor (in browser) with Docker container runtime backend (in cloud) with dev environment already setup.
Once the Codespaces is launched, you can complete the setup in 2 steps:
The test of the code lies in the ability to see a working Visual Studio Code editor environment connected to a Docker instance running in cloud (GitHub Codespaces) or local (Docker Desktop).
What to Check
Verify that your environment has the necessary tools installed correctly.
python --version
azd version
az version
pf version