feat: Add devcontainer (#1248)

Signed-off-by: Praateek <praateekm@gmail.com>
This commit is contained in:
Praateek Mahajan
2025-06-16 11:11:50 -07:00
committed by GitHub
parent cf9b821b19
commit ba5ffbbe2e
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{
"name": "Rust Dev Container",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "stable"
}
},
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb"
]
},
"settings": {
"terminal.integrated.defaultProfile.linux": "/bin/bash"
}
},
"postCreateCommand": "cargo build",
"remoteUser": "vscode",
"mounts": [
"source=${localWorkspaceFolder}/crates,target=/workspace/crates,type=bind"
]
}