devcontainer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "MeshCore",
  3. "image": "mcr.microsoft.com/devcontainers/python:3-bookworm",
  4. "features": {
  5. "ghcr.io/devcontainers/features/node:1": {},
  6. "ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
  7. "packages": [
  8. "sudo"
  9. ]
  10. }
  11. },
  12. "runArgs": [
  13. "--privileged",
  14. "--network=host",
  15. "--device=/dev/bus/usb",
  16. // arch linux tty* is owned by uucp (986)
  17. "--group-add=986",
  18. // debian tty* is owned by dialout (20)
  19. "--group-add=20"
  20. ],
  21. "postCreateCommand": {
  22. "platformio": "pipx install platformio",
  23. "opencode": "curl -fsSL https://opencode.ai/install | bash"
  24. },
  25. "customizations": {
  26. "vscode": {
  27. "settings": {
  28. "platformio-ide.disablePIOHomeStartup": true,
  29. "editor.formatOnSave": false,
  30. "workbench.colorCustomizations": {
  31. "titleBar.activeBackground": "#0d1a2b",
  32. "titleBar.activeForeground": "#ffffff",
  33. "titleBar.inactiveBackground": "#0d1a2b99",
  34. "titleBar.inactiveForeground": "#ffffff99"
  35. }
  36. },
  37. "extensions": [
  38. "platformio.platformio-ide",
  39. "github.vscode-github-actions",
  40. "GitHub.vscode-pull-request-github"
  41. ],
  42. "unwantedRecommendations": [
  43. "ms-vscode.cpptools-extension-pack"
  44. ]
  45. }
  46. }
  47. }