diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c6bea38..3eda663 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -23,4 +23,6 @@ RUN dnf update -y && dnf install -y \ webkitgtk6.0-devel \ libsecret-devel \ libproxy-devel \ + gtksourceview5-devel \ + glib-networking \ clangd diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4f9b93c..c5701d3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,6 +3,10 @@ "build": { "dockerfile": "Dockerfile" }, + "runArgs": [ + "--device=/dev/dri", + "--network=host" + ], "features": { "ghcr.io/devcontainers/features/common-utils:2": { "installZsh": "false", @@ -25,9 +29,12 @@ "containerEnv": { "WAYLAND_DISPLAY": "${localEnv:WAYLAND_DISPLAY}", "XDG_RUNTIME_DIR": "${localEnv:XDG_RUNTIME_DIR}", - "XDG_SESSION_TYPE": "${localEnv:XDG_SESSION_TYPE}" + "XDG_SESSION_TYPE": "${localEnv:XDG_SESSION_TYPE}", + + "DBUS_SYSTEM_BUS_ADDRESS": "unix:path=/var/run/dbus/system_bus_socket" }, "mounts": [ - "source=${localEnv:XDG_RUNTIME_DIR},target=${localEnv:XDG_RUNTIME_DIR},type=bind,consistency=cached" + "source=${localEnv:XDG_RUNTIME_DIR},target=${localEnv:XDG_RUNTIME_DIR},type=bind,consistency=cached", + "source=/var/run/dbus/system_bus_socket,target=/var/run/dbus/system_bus_socket,type=bind,consistency=cached" ] } \ No newline at end of file