added devcontainer configuration

This commit is contained in:
Ferdinand Keller
2024-08-01 18:21:25 +00:00
parent b3e9bd52a3
commit 4723e94fe5
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "Pumpkin",
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/rust:1": {}
},
"mounts": [
// mount SSH config & public keys from host to enable SSH-based Git remotes
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly,type=bind"
],
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"Swellaby.rust-pack"
]
}
}
}