selkies-project / docker-nvidia-egl-desktop

KDE Plasma Desktop container designed for Kubernetes, supporting OpenGL EGL and GLX, Vulkan, and Wine/Proton for NVIDIA GPUs through WebRTC and HTML5, providing an open-source remote cloud/HPC graphics or game streaming platform.
https://github.com/selkies-project/docker-nvidia-egl-desktop/pkgs/container/nvidia-egl-desktop
Mozilla Public License 2.0
239 stars 49 forks source link

substitution fails ind dockerfile #41

Closed alexeadem closed 4 months ago

alexeadem commented 4 months ago
# dbus-daemon to the below address is required during startup
ENV DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR:-/tmp}/dbus-session-${DISPLAY#*:}"
error: failed to solve: rpc error: code = Unknown desc = failed to process "\"unix:path=${XDG_RUNTIME_DIR:-/tmp}/dbus-session-${DISPLAY#*:}\"": missing ':' in substitution

docker version Client: Version: 24.0.5 API version: 1.43 Go version: go1.22.0 Git commit: %{shortcommit_cli} Built: Sun Feb 11 23:35:47 2024 OS/Arch: linux/amd64 Context: default

alexeadem commented 4 months ago

I think I'm getting these errors cause your are building with GitHub Actions and I'm trying to build it locally...

ehfd commented 4 months ago

Fixed by replacing dbus-session-${DISPLAY#*:} with dbus-session-bus.