Create devcontainer for development with X11 forwarding

This commit is contained in:
Jakub 2026-04-26 15:27:24 +08:00
parent 62c821e87b
commit 9be1526cb1
3 changed files with 34 additions and 1 deletions

View file

@ -0,0 +1,12 @@
{
"name": "Imugi Dev Container",
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--net", "host",
"-e", "DISPLAY=:0",
"-e", "XAUTHORITY=/tmp/.Xauthority",
"-v", "${localEnv:HOME}/.Xauthority:/tmp/.Xauthority"
]
}