Because the container is started as user node, the ssh mount should be in /home/node/.ssh rather than root

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2023-11-18 11:20:12 +00:00
parent cbe7b3bfdd
commit 9bb6d83895

View File

@@ -18,6 +18,6 @@
"GIT_EDITOR": "nano" "GIT_EDITOR": "nano"
}, },
"mounts": [ "mounts": [
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/root/.ssh,readonly" "type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly"
] ]
} }