zmk_mf68/.devcontainer/devcontainer.json
innovaker 3b77266bbb feat(devcontainer): add volume mounts for zephyr, modules and tools
This effectively caches Zephyr and its dependencies.  It also shares them between containers.

PR: #519
2020-12-18 09:18:08 -05:00

21 lines
751 B
JSON

{
"name": "ZMK Development",
"dockerFile": "Dockerfile",
"runArgs": ["--security-opt", "label=disable"],
"containerEnv": {
"WORKSPACE_DIR": "${containerWorkspaceFolder}",
"PROMPT_COMMAND": "history -a"
},
"mounts": [
"type=volume,source=zmk-root-user,target=/root",
"type=volume,source=zmk-config,target=/workspaces/zmk-config",
"type=volume,source=zmk-zephyr,target=${containerWorkspaceFolder}/zephyr",
"type=volume,source=zmk-zephyr-modules,target=${containerWorkspaceFolder}/modules",
"type=volume,source=zmk-zephyr-tools,target=${containerWorkspaceFolder}/tools"
],
"extensions": ["ms-vscode.cpptools"],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"forwardPorts": [3000]
}