devcontainer.json 876 B

1234567891011121314151617
  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/go
  3. {
  4. "name": "Go",
  5. // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
  6. "image": "mcr.microsoft.com/devcontainers/go:1-${templateOption:imageVariant}"
  7. // Features to add to the dev container. More info: https://containers.dev/features.
  8. // "features": {},
  9. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  10. // "forwardPorts": [],
  11. // Use 'postCreateCommand' to run commands after the container is created.
  12. // "postCreateCommand": "go version",
  13. // Configure tool-specific properties.
  14. // "customizations": {},
  15. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  16. // "remoteUser": "root"
  17. }