You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

devcontainer.json 1.5 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/docker-outside-of-docker-compose
  3. {
  4. "name": "AutoGen devcontainer",
  5. "dockerComposeFile": "docker-compose.yml",
  6. "service": "devcontainer",
  7. "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
  8. // Use this environment variable if you need to bind mount your local source code into a new container.
  9. "remoteEnv": {
  10. "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
  11. },
  12. "features": {
  13. "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
  14. "moby": true,
  15. "installDockerBuildx": true,
  16. "version": "latest",
  17. "dockerDashComposeVersion": "none"
  18. },
  19. "ghcr.io/elanhasson/devcontainer-features/dotnet-aspire-daily:1": {},
  20. "ghcr.io/devcontainers/features/azure-cli:1": {},
  21. "ghcr.io/azure/azure-dev/azd:0": {}
  22. },
  23. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  24. // "forwardPorts": [],
  25. // Use 'postCreateCommand' to run commands after the container is created.
  26. "postCreateCommand": "bash .devcontainer/startup.sh",
  27. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  28. "remoteUser": "root",
  29. "customizations": {
  30. "vscode": {
  31. "extensions": [
  32. "ms-python.python",
  33. "ms-python.debugpy",
  34. "GitHub.copilot",
  35. "ms-dotnettools.csdevkit",
  36. "ms-dotnettools.vscodeintellicode-csharp",
  37. "github.vscode-github-actions"
  38. ]
  39. }
  40. }
  41. }