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.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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/devcontainers/features/git:1": {},
  22. "ghcr.io/devcontainers/features/dotnet:2": {},
  23. "ghcr.io/azure/azure-dev/azd:0": {},
  24. "ghcr.io/devcontainers/features/python:1": {}
  25. },
  26. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  27. // "forwardPorts": [],
  28. // Use 'postCreateCommand' to run commands after the container is created.
  29. "postCreateCommand": "bash .devcontainer/startup.sh",
  30. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  31. "remoteUser": "root",
  32. "customizations": {
  33. "vscode": {
  34. "extensions": [
  35. "ms-python.python",
  36. "ms-python.debugpy",
  37. "GitHub.copilot",
  38. "ms-dotnettools.csdevkit",
  39. "ms-dotnettools.vscodeintellicode-csharp",
  40. "github.vscode-github-actions"
  41. ]
  42. }
  43. }
  44. }