Browse Source

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
xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
3b77266bbb
  1. 5
      .devcontainer/devcontainer.json

5
.devcontainer/devcontainer.json

@ -8,7 +8,10 @@ @@ -8,7 +8,10 @@
},
"mounts": [
"type=volume,source=zmk-root-user,target=/root",
"type=volume,source=zmk-config,target=/workspaces/zmk-config"
"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": {

Loading…
Cancel
Save