Update devcontainer configuration and Dockerfile dependencies (#1516)
This commit is contained in:
parent
1411314e25
commit
1007991255
2 changed files with 11 additions and 2 deletions
|
|
@ -23,4 +23,6 @@ RUN dnf update -y && dnf install -y \
|
|||
webkitgtk6.0-devel \
|
||||
libsecret-devel \
|
||||
libproxy-devel \
|
||||
gtksourceview5-devel \
|
||||
glib-networking \
|
||||
clangd
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue