devcontainer.json 1.1 KB

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