-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (31 loc) · 838 Bytes
/
devcontainer.json
File metadata and controls
31 lines (31 loc) · 838 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
{
"name": "jME env",
"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": [
"--device=/dev/dri",
"--group-add=video",
"--group-add=render"
],
"containerEnv": {
"LIBGL_ALWAYS_SOFTWARE": "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/"
}
}
}
}