33 lines
657 B
JSON
33 lines
657 B
JSON
|
{
|
||
|
"name": "PlatformIO (Community)",
|
||
|
"build": {
|
||
|
"dockerfile": "Containerfile",
|
||
|
"context": ".",
|
||
|
"args": {
|
||
|
"FEDORA_COMPAT" : "1", // enables fedora compatibility mode (extra dialout group with gid 18)
|
||
|
"VARIANT": "bookworm"
|
||
|
}
|
||
|
},
|
||
|
"customizations": {
|
||
|
"vscode": {
|
||
|
"settings": {
|
||
|
"terminal.integrated.defaultProfile.linux": "zsh"
|
||
|
},
|
||
|
"extensions": [
|
||
|
"ms-vscode.cpptools",
|
||
|
"platformio.platformio-ide"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"forwardPorts": [
|
||
|
8008
|
||
|
],
|
||
|
"mounts": [
|
||
|
"source=/dev/,target=/dev/,type=bind,consistency=consistent"
|
||
|
],
|
||
|
"runArgs": [
|
||
|
"--privileged"
|
||
|
],
|
||
|
"features": {},
|
||
|
"postAttachCommand": "sudo service udev restart"
|
||
|
}
|