| 1 |
{ |
| 2 |
"name": "uutils-devcontainer", |
| 3 |
"build": { |
| 4 |
"dockerfile": "Dockerfile" |
| 5 |
}, |
| 6 |
"features": { |
| 7 |
"ghcr.io/devcontainers/features/rust:1": |
| 8 |
{ |
| 9 |
"version": "latest", |
| 10 |
"profile": "default", |
| 11 |
"components": "llvm-tools-preview" |
| 12 |
} |
| 13 |
}, |
| 14 |
"onCreateCommand": { |
| 15 |
"install pre-commit hooks": "pre-commit install", |
| 16 |
"update permissions for gnu coreutils volume": "sudo chown vscode:vscode ${containerWorkspaceFolder}/../gnu" |
| 17 |
}, |
| 18 |
"mounts": [ |
| 19 |
{ |
| 20 |
"source": "devcontainer-gnu-coreutils-${devcontainerId}", |
| 21 |
"target": "${containerWorkspaceFolder}/../gnu", |
| 22 |
"type": "volume" |
| 23 |
} |
| 24 |
], |
| 25 |
"customizations": { |
| 26 |
"vscode": { |
| 27 |
"extensions": [ |
| 28 |
"streetsidesoftware.code-spell-checker", |
| 29 |
"foxundermoon.shell-format", |
| 30 |
"ms-vscode.cpptools" |
| 31 |
], |
| 32 |
"settings": { |
| 33 |
"rust-analyzer.check.command": "clippy", |
| 34 |
"rust-analyzer.debug.engine": "ms-vscode.cpptools", |
| 35 |
"rust-analyzer.debug.engineSettings": { |
| 36 |
"cppdbg": { |
| 37 |
"miDebuggerPath": "rust-gdb", |
| 38 |
"setupCommands": [ |
| 39 |
{ |
| 40 |
"description": "Enable pretty-printing for gdb", |
| 41 |
"text": "-enable-pretty-printing", |
| 42 |
"ignoreFailures": false |
| 43 |
} |
| 44 |
] |
| 45 |
} |
| 46 |
} |
| 47 |
} |
| 48 |
} |
| 49 |
} |
| 50 |
} |