mirror of
https://github.com/containers/youki
synced 2024-11-23 01:11:58 +01:00
28 lines
655 B
JSON
28 lines
655 B
JSON
{
|
|
"name": "youki",
|
|
"dockerFile": "Dockerfile",
|
|
"overrideCommand": true,
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
|
|
],
|
|
"runArgs": [
|
|
"--cap-add=SYS_PTRACE",
|
|
"--security-opt",
|
|
"seccomp=unconfined",
|
|
"--privileged"
|
|
],
|
|
"postStartCommand": [
|
|
".devcontainer/scripts/init.sh"
|
|
],
|
|
"extensions": [
|
|
"matklad.rust-analyzer"
|
|
],
|
|
"settings": {
|
|
"rust-analyzer.server.path": "/usr/local/cargo/bin/rust-analyzer",
|
|
"rust-analyzer.checkOnSave.command": "clippy",
|
|
// ref. https://github.com/rust-analyzer/rust-analyzer/issues/6038
|
|
"rust-analyzer.diagnostics.disabled": [
|
|
"unresolved-import"
|
|
]
|
|
}
|
|
} |