mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 02:09:57 +00:00
1790407078
* Add support for GPG * Add usb device support * Add trunk.io to devcontainer * Trunk things * trunk fmt * formatting * fix trivy/DS002, checkov/CKV_DOCKER_3 * hide docker extension popup * fix trivy/DS026, checkov/CKV_DOCKER_2 Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
|
|
{
|
|
"name": "Meshtastic Firmware Dev",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"installTools": true,
|
|
"version": "latest"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.cpptools",
|
|
"platformio.platformio-ide",
|
|
"Trunk.io"
|
|
],
|
|
"unwantedRecommendations": ["ms-azuretools.vscode-docker"],
|
|
"settings": {
|
|
"extensions.ignoreRecommendations": true
|
|
}
|
|
}
|
|
},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [4403],
|
|
|
|
// Use "--device=" to make a local device available inside the container.
|
|
// "runArgs": ["--device=/dev/ttyACM0"],
|
|
|
|
// Run commands to prepare the container for use
|
|
"postCreateCommand": ".devcontainer/setup.sh"
|
|
}
|