Stabilize Sunshine app launch profiles and container isolation.

Update compose security settings and player app configs to improve Steam startup behavior, add desktop/manual launch entries for debugging, and align launch commands across all player profiles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-27 13:36:01 +03:00
parent a214ff761b
commit 907d26af0b
6 changed files with 113 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ RUN if [ -n "$APT_PROXY" ]; then \
RUN dpkg --add-architecture i386 && \
apt-get update && apt-get install -y \
xserver-xorg-core xserver-xorg-video-dummy xserver-xorg-input-libinput \
fluxbox dbus-x11 xauth xfonts-base x11-xserver-utils \
fluxbox dbus-x11 xauth xfonts-base x11-xserver-utils xinput \
software-properties-common wget curl ca-certificates locales pciutils \
libboost-chrono1.74.0 libboost-filesystem1.74.0 libboost-locale1.74.0 \
libboost-program-options1.74.0 libboost-thread1.74.0 \
@@ -47,6 +47,7 @@ RUN apt-get update && \
&& ln -sf /lib/x86_64-linux-gnu/libvpx.so.7 /lib/x86_64-linux-gnu/libvpx.so.6 \
&& ln -sf /lib/i386-linux-gnu/libvpx.so.7 /lib/i386-linux-gnu/libvpx.so.6 \
&& locale-gen en_US.UTF-8 \
&& setcap -r /usr/bin/sunshine-v0.20.0 || true \
&& rm -f /tmp/sunshine.deb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -91,7 +92,6 @@ id steam >/dev/null 2>&1 || useradd -m -s /bin/bash steam\n\
mkdir -p /home/steam/.local/share/Steam /tmp/xdg-steam\n\
ln -sfn /home/steam/.local/share/Steam /home/steam/.steam\n\
chown -R steam:steam /home/steam /tmp/xdg-steam\n\
modprobe uinput >/dev/null 2>&1 || true\n\
mkdir -p /run/dbus\n\
dbus-daemon --system --fork || true\n\
Xorg :99 -config /etc/X11/xorg-dummy.conf -nolisten tcp -noreset +extension GLX +extension RANDR +extension RENDER &\n\