From a3d601fc754fcec3f76f4d49d06430d6a2e65a7f Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sat, 8 Oct 2022 16:21:01 +0000 Subject: [PATCH] feat: dev container use host .ssh folder. --- .devcontainer/devcontainer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8a38d64..e58b1ca 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -40,5 +40,8 @@ "features": { "git": "os-provided", "git-lfs": "latest" - } + }, + "mounts": [ + "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached" + ] }