Mount local users .ssh directory into the dev container in order to use SSH keys for signing off git commits
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
9f1c3851c5
commit
4d2a9f47bf
|
@ -7,5 +7,9 @@
|
|||
"ms-vscode.cpptools",
|
||||
"ms-vscode.cmake-tools",
|
||||
"eamodio.gitlens"
|
||||
],
|
||||
"mounts": [
|
||||
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/root/.ssh,readonly"
|
||||
]
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue