From 88f2e35faa75ea07ef148540179a3d197649bdc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Br=C3=A1zio?= Date: Sat, 7 Mar 2026 12:49:25 +0000 Subject: [PATCH] devcontainer: add bun feature and update postCreateCommand --- .devcontainer/devcontainer.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8440247e..a806d902 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,6 +2,7 @@ "name": "MeshCore", "image": "mcr.microsoft.com/devcontainers/python:3-bookworm", "features": { + "ghcr.io/devcontainers-extra/features/bun:1": {}, "ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { "packages": [ "sudo" @@ -11,14 +12,15 @@ "runArgs": [ "--privileged", "--network=host", - "--volume=/dev/bus/usb:/dev/bus/usb:ro", - // arch tty* is owned by uucp (986) + "--device=/dev/bus/usb", + // arch linux tty* is owned by uucp (986) + "--group-add=986", // debian tty* is owned by dialout (20) - "--group-add=20", - "--group-add=986" + "--group-add=20" ], "postCreateCommand": { - "platformio": "pipx install platformio" + "platformio": "pipx install platformio", + "opencode": "curl -fsSL https://opencode.ai/install | bash" }, "customizations": { "vscode": {