Browse Source
Merge pull request #1960 from jbrazio/2026/devcontainer
Update devcontainer config
pull/1967/head
Liam Cottle
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
5 deletions
-
.devcontainer/devcontainer.json
|
|
@ -2,6 +2,7 @@ |
|
|
"name": "MeshCore", |
|
|
"name": "MeshCore", |
|
|
"image": "mcr.microsoft.com/devcontainers/python:3-bookworm", |
|
|
"image": "mcr.microsoft.com/devcontainers/python:3-bookworm", |
|
|
"features": { |
|
|
"features": { |
|
|
|
|
|
"ghcr.io/devcontainers-extra/features/bun:1": {}, |
|
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { |
|
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { |
|
|
"packages": [ |
|
|
"packages": [ |
|
|
"sudo" |
|
|
"sudo" |
|
|
@ -11,14 +12,15 @@ |
|
|
"runArgs": [ |
|
|
"runArgs": [ |
|
|
"--privileged", |
|
|
"--privileged", |
|
|
"--network=host", |
|
|
"--network=host", |
|
|
"--volume=/dev/bus/usb:/dev/bus/usb:ro", |
|
|
"--device=/dev/bus/usb", |
|
|
// arch tty* is owned by uucp (986) |
|
|
// arch linux tty* is owned by uucp (986) |
|
|
|
|
|
"--group-add=986", |
|
|
// debian tty* is owned by dialout (20) |
|
|
// debian tty* is owned by dialout (20) |
|
|
"--group-add=20", |
|
|
"--group-add=20" |
|
|
"--group-add=986" |
|
|
|
|
|
], |
|
|
], |
|
|
"postCreateCommand": { |
|
|
"postCreateCommand": { |
|
|
"platformio": "pipx install platformio" |
|
|
"platformio": "pipx install platformio", |
|
|
|
|
|
"opencode": "curl -fsSL https://opencode.ai/install | bash" |
|
|
}, |
|
|
}, |
|
|
"customizations": { |
|
|
"customizations": { |
|
|
"vscode": { |
|
|
"vscode": { |
|
|
|