37 lines
1.4 KiB
JSON
37 lines
1.4 KiB
JSON
{
|
|
"name": "The Portal Godot dev container",
|
|
"dockerFile": "Dockerfile",
|
|
"mounts": [
|
|
// Mounts for X and Wayland sockets
|
|
// "source=/run/user/1000/wayland-0,target=/run/user/1000/wayland-0,type=bind",
|
|
// "source=/run/user/1000/pulse,target=/run/user/1000/pulse,type=bind",
|
|
// "source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind",
|
|
// "source=${localEnv:HOME}/.Xauthority,target=/root/.Xauthority,type=bind"
|
|
],
|
|
"runArgs": [
|
|
// The video accelerator
|
|
// "--device=/dev/dri/card1:/dev/dri/card1",
|
|
// "--device=/dev/dri/renderD128:/dev/dri/renderD128",
|
|
|
|
// USB Android devices to share with adb, if any.
|
|
// "--device=/dev/bus/usb/001/005:/dev/bus/usb/001/005"
|
|
],
|
|
"containerEnv": {
|
|
// Stuff to map wayland and audio
|
|
// "WAYLAND_DISPLAY": "wayland-0",
|
|
// "XDG_RUNTIME_DIR": "/run/user/1000",
|
|
// "PULSE_SERVER": "unix:/run/user/1000/pulse/native",
|
|
// "XAUTHORITY": "/root/.Xauthority"
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"Anthropic.claude-code",
|
|
"DoHe.godot-format",
|
|
"geequlim.godot-tools",
|
|
"alfish.godot-files"
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "godot --headless --install-android-build-template --export-debug Android"
|
|
} |