devcontainer.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "dockerComposeFile": "docker-compose.yml",
  3. "service": "buildtools",
  4. "onCreateCommand": ".devcontainer/on-create-command.sh",
  5. "updateContentCommand": ".devcontainer/update-content-command.sh",
  6. "workspaceFolder": "/workspaces/gclient/src/electron",
  7. "forwardPorts": [8088, 6080, 5901],
  8. "portsAttributes": {
  9. "8088": {
  10. "label": "Goma Control Panel",
  11. "onAutoForward": "silent"
  12. },
  13. "6080": {
  14. "label": "VNC web client (noVNC)",
  15. "onAutoForward": "silent"
  16. },
  17. "5901": {
  18. "label": "VNC TCP port",
  19. "onAutoForward": "silent"
  20. }
  21. },
  22. "hostRequirements": {
  23. "storage": "128gb",
  24. "cpus": 16
  25. },
  26. "remoteUser": "builduser",
  27. "customizations": {
  28. "codespaces": {
  29. "openFiles": [
  30. ".devcontainer/README.md"
  31. ]
  32. },
  33. "vscode": {
  34. "extensions": ["joeleinbinder.mojom-language",
  35. "rafaelmaiolla.diff",
  36. "surajbarkale.ninja",
  37. "ms-vscode.cpptools",
  38. "mutantdino.resourcemonitor",
  39. "dbaeumer.vscode-eslint",
  40. "shakram02.bash-beautify",
  41. "marshallofsound.gnls-electron",
  42. "CircleCI.circleci"
  43. ],
  44. "settings": {
  45. "editor.tabSize": 2,
  46. "bashBeautify.tabSize": 2,
  47. "typescript.tsdk": "node_modules/typescript/lib",
  48. "[gn]": {
  49. "editor.formatOnSave": true
  50. },
  51. "[javascript]": {
  52. "editor.codeActionsOnSave": {
  53. "source.fixAll.eslint": true
  54. }
  55. },
  56. "[typescript]": {
  57. "editor.codeActionsOnSave": {
  58. "source.fixAll.eslint": true
  59. }
  60. },
  61. "javascript.preferences.quoteStyle": "single",
  62. "typescript.preferences.quoteStyle": "single"
  63. }
  64. }
  65. }
  66. }