Update dockerfile and devcontainer.json to execute poststart.sh and forward x11

This commit is contained in:
2025-04-14 18:51:30 +02:00
parent fa5f6b2588
commit d794a02c67
4 changed files with 36 additions and 6 deletions

View File

@@ -4,6 +4,11 @@
"dockerfile": "Dockerfile",
"context": "."
},
"postStartCommand": "./.devcontainer/poststart.sh",
"runArgs": [
"-e", "DISPLAY=${env:DISPLAY}",
"-v", "/tmp/.X11-unix:/tmp/.X11-unix"
],
"customizations": {
"vscode": {
"settings": {
@@ -14,7 +19,8 @@
"ms-vscode.cpptools",
"ms-vscode.makefile-tools",
"androidtool.android",
"ms-azuretools.vscode-docker"
"ms-azuretools.vscode-docker",
"bbenoist.QML"
]
}
},