From 3b77266bbb43d54a07acf79733190714965ea37e Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Tue, 15 Dec 2020 14:44:39 +0000 Subject: 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 --- .devcontainer/devcontainer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.devcontainer') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7d6acd059a..04a42c4d5e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { -- cgit v1.2.3