-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathdevcontainer.json
More file actions
32 lines (32 loc) · 928 Bytes
/
devcontainer.json
File metadata and controls
32 lines (32 loc) · 928 Bytes
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
{
"name": "jME env (NVIDIA)",
"build": {
"dockerfile": "../Dockerfile",
"context": ".."
},
"mounts": [
"source=${localEnv:XDG_RUNTIME_DIR}/pulse/native,target=/tmp/pulse/native,type=bind",
"source=${localEnv:HOME}/.config/pulse/cookie,target=/tmp/pulse/cookie,type=bind,readonly"
],
"runArgs": [
"--gpus=all"
],
"containerEnv": {
"LIBGL_ALWAYS_SOFTWARE": "0",
"NVIDIA_VISIBLE_DEVICES": "all",
"NVIDIA_DRIVER_CAPABILITIES": "graphics,utility,compute",
"__GL_THREADED_OPTIMIZATIONS": "0",
"JME3_DIALOGS_FACTORY": "",
"PULSE_SERVER": "unix:/tmp/pulse/native",
"PULSE_COOKIE": "/tmp/pulse/cookie"
},
"postCreateCommand": "bash .devcontainer/scripts/setup.sh",
"customizations": {
"vscode": {
"settings": {
"workbench.colorTheme": "GitHub Dark Dimmed",
"java.jdt.ls.java.home": "/root/.sdkman/candidates/java/25-tem/"
}
}
}
}