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

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