-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.devcontainer.json
More file actions
62 lines (62 loc) · 2.33 KB
/
.devcontainer.json
File metadata and controls
62 lines (62 loc) · 2.33 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "CommonLowLevelTracingKit dev container",
"initializeCommand": "${localWorkspaceFolder}//scripts/container.sh echo 'container done'",
"build": {
"dockerfile": "${localWorkspaceFolder}//scripts/container.Dockerfile",
},
"workspaceMount": "source=${localWorkspaceFolder}/,target=/clltk-workspace-base/,type=bind,consistency=cached",
"workspaceFolder": "/clltk-workspace-base/",
"containerUser": "root",
"remoteUser": "root",
"mounts": [
"source=${localEnv:HOME}/.ccache,target=/root/.ccache,type=bind,consistency=cached",
"source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,readonly",
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig,type=bind,readonly",
"source=${localWorkspaceFolder}/build/in_container/amd64/build/,target=//clltk-workspace-base/build/,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/build/in_container/amd64/traces,target=/tmp/traces/,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/build/in_container/.bash_history,target=/root/.bash_history,type=bind,consistency=cached"
],
"runArgs": [
"--network=host", // use host network inside container
"--hostname=clltk-ci",
"--security-opt=label=disable",
"--security-opt=seccomp=unconfined"
],
"containerEnv": {
"CLLTK_TRACING_PATH": "/tmp/traces/",
"BUILD_DIR": "/clltk-workspace-base/build/",
"PERSITENT_ARTIFACTS": "/clltk-workspace-base/build_kernel/persistent/",
"CCACHE_DIR": "/root/.ccache/",
"INATALL_DIR": "/clltk-workspace-base/install/",
"CLLTK_CI_VERSION_STEP_REQUIRED": "true"
},
"updateRemoteUserUID": true,
"postCreateCommand": "mkdir -p /tmp/traces /clltk/build_kernel/",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cmake-tools",
"ban.spellright",
"wayou.vscode-todo-highlight",
"ms-python.python",
"ms-python.vscode-pylance",
"mhutchie.git-graph",
"donjayamanne.githistory",
"waderyan.gitblame",
"webfreak.debug",
"matepek.vscode-catch2-test-adapter",
"vadimcn.vscode-lldb",
"donjayamanne.python-extension-pack",
"llvm-vs-code-extensions.vscode-clangd",
"twxs.cmake",
"xaver.clang-format",
"ms-vscode.hexeditor",
"njpwerner.autodocstring",
"donjayamanne.python-environment-manager",
"KevinRose.vsc-python-indent",
"betwo.vscode-linux-binary-preview",
"asciidoctor.asciidoctor-vscode"
]
}
}
}