sparse/.devcontainer/devcontainer.json
Andrew Rioux 8aab9be638
build: made it so dev containers can partly debug
symbol tables appear to be messed up and it doesn't work with async
Rust, so will try to refactor the code to be sync and see how it fares
2023-05-07 14:17:28 -04:00

36 lines
949 B
JSON

{
"name": "sparse",
"build": {
"dockerfile": "Dockerfile.buster"
},
"customizations": {
"vscode": {
"settings": {
"licenser.license": "AGPLv3",
"licenser.projectName": "sparse",
"lldb.executable": "/usr/bin/lldb",
"rust-analyzer.checkOnSave": true,
"rust-analyzer.checkOnSave.command": "clippy"
},
"extensions": [
"tootone.org-mode",
"rust-lang.rust-analyzer",
"ymotongpoo.licenser",
"ms-azuretools.vscode-docker",
"bungcip.better-toml",
"vadimcn.vscode-lldb"
]
}
},
"runArgs": [
"--privileged",
"--cap-add=SYS_PTRACE",
"--cap-add=NET_RAW",
"--security-opt",
"seccomp=unconfined"
],
"postStartCommand": "cargo make setup",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker": {}
}
}