devcontainer.json 981 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "Harvey",
  3. "build": {
  4. "dockerfile": "Dockerfile",
  5. // Update the VARIANT arg to pick a version of Go
  6. "args": { "VARIANT": "1" }
  7. },
  8. "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
  9. // Set *default* container specific settings.json values on container create.
  10. "settings": {
  11. "terminal.integrated.shell.linux": "/bin/bash",
  12. "go.gopath": "/go"
  13. },
  14. // Add the IDs of extensions you want installed when the container is created.
  15. "extensions": [
  16. "golang.Go",
  17. "ms-vscode.cpptools"
  18. ]
  19. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  20. // "forwardPorts": [],
  21. // Use 'postCreateCommand' to run commands after the container is created.
  22. // "postCreateCommand": "go version",
  23. // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
  24. // "remoteUser": "vscode"
  25. }