Skip to content

Commit

Permalink
fix: Revert attempts at running tauri in container.
Browse files Browse the repository at this point in the history
* devcontainer with UID shenanigans created file
  ownership issues, so simplify things.
  • Loading branch information
petejohanson committed Jun 2, 2024
1 parent 76f2b99 commit e00bff4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"name": "ZMK Development",
"dockerFile": "Dockerfile",
"runArgs": ["--security-opt", "label=disable", "--security-opt", "label=type:container_runtime_t", "-u", "0", "--userns", "keep-id"],
"runArgs": ["--security-opt", "label=disable"],
"mounts": [
"type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix",
"type=bind,source=../zmk,target=/opt/zmk"
],
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}",
"DBUS_SESSION_BUS_ADDRESS": "${localEnv:DBUS_SESSION_BUS_ADDRESS}",
"LIBGL_ALWAYS_SOFTWARE": "1"
},
"forwardPorts": [5173, 6006]
}

0 comments on commit e00bff4

Please sign in to comment.