forked from fifengine/fifengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
47 lines (47 loc) · 1.61 KB
/
Copy pathdevcontainer.json
File metadata and controls
47 lines (47 loc) · 1.61 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
{
"name": "Fife DevBox",
//"image": "ghcr.io/jakoch/cpp-devbox:trixie-with-vulkansdk-latest",
"image": "ghcr.io/jakoch/cpp-devbox:trixie-with-vulkansdk-20260524",
// To use the arch based Dockerfile uncomment the following section:
//"build": {
// "dockerfile": "arch/Dockerfile",
// "context": "."
//},
"customizations": {
"vscode": {
"extensions": [
// EditorConfig
"EditorConfig.EditorConfig",
// Git + Github
"GitHub.vscode-pull-request-github",
// C++
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cpptools-themes",
// CMake
"ms-vscode.cmake-tools",
"twxs.cmake",
// Testing
"matepek.vscode-catch2-test-adapter",
"ms-vscode.test-adapter-converter",
"hbenl.vscode-test-explorer"
]
}
},
"runArgs": [
"--runtime=nvidia",
"--gpus", "all",
"--network", "host"
],
"mounts": [
"source=/run/desktop/mnt/host/wslg/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached",
"source=/run/desktop/mnt/host/wslg,target=/mnt/wslg,type=bind,consistency=cached"
],
"remoteEnv": {
"DISPLAY": ":0",
"WAYLAND_DISPLAY": "wayland-0",
"XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir",
"PULSE_SERVER": "/mnt/wslg/PulseServer"
},
"postStartCommand": "chmod +x ./build-tools/setup-vcpkg.sh && ./build-tools/setup-vcpkg.sh"
}