add docker setup for vscode to ease launching dev environment for qmk

This commit is contained in:
kemonine 2022-01-22 10:50:41 -05:00
parent b4e53a4abb
commit b56aa7f4cf

View file

@ -0,0 +1,18 @@
{
"name": "QMK Development",
"image": "qmkfm/qmk_cli",
"runArgs": ["--security-opt", "label=disable"],
"mounts": [
"type=volume,source=qmk_firmware,target=/qmk_firmware",
"type=bind,source=${localWorkspaceFolder}/.build,target=/qmk_firmware/.build"
],
"workspaceMount": "type=bind,source=${localWorkspaceFolder}/users/kemonine,target=/qmk_firmware/users/kemonine"
"workspaceFolder": "/qmk_firmware/users/kemonine"
"extensions": [
"ms-vscode.cpptools",
"EditorConfig.EditorConfig"
],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
}
}