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

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