-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
47 lines (47 loc) · 1.61 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"build": {
"dockerfile": "./dist/docker/development/Dockerfile",
"context": ".",
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"mounts": [
// We want to have the docker socket available.
"type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock",
// We also want to make sure we bind in the local gnupg home directory.
"type=bind,src=/home/csaide/.gnupg,dst=/home/code/.gnupg",
// We also want to make sure we bind in the local ssh home directory.
"type=bind,src=/home/csaide/.ssh,dst=/home/code/.ssh"
],
"containerUser": "code",
"remoteUser": "code",
"workspaceMount": "source=/home/csaide/workspace/csaide/riftdb,target=/opt/riftdb,type=bind,consistency=cached",
"workspaceFolder": "/opt/riftdb",
"extensions": [
"matklad.rust-analyzer",
"serayuzgur.crates",
"ms-azuretools.vscode-docker",
"eriklynd.json-tools",
"zxh404.vscode-proto3",
"bungcip.better-toml",
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor"
],
"settings": {
"rust-analyzer.inlayHints.enable": false,
"rust-analyzer.diagnostics.disabled": [
"unresolved-import",
"unresolved-macro-call"
],
"rust-analyzer.updates.askBeforeDownload": false,
"terminal.integrated.defaultProfile.linux": "bash",
"lldb.executable": "/usr/bin/lldb",
// VS Code don't watch files under ./target
"files.watcherExclude": {
"**/target/**": true
}
}
}