Skip to content

Commit

Permalink
feat(devcontainer): add volume mounts for zephyr, modules and tools
Browse files Browse the repository at this point in the history
This effectively caches Zephyr and its dependencies.  It also shares them between containers.

PR: zmkfirmware#519
  • Loading branch information
innovaker authored and petejohanson committed Dec 18, 2020
1 parent 89532ea commit 3b77266
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 3b77266

Please sign in to comment.