-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (24 loc) · 901 Bytes
/
Dockerfile
File metadata and controls
34 lines (24 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ghcr.io/selkies-project/nvidia-glx-desktop:24.04-20251107145840
ARG DEBIAN_FRONTEND=noninteractive
ARG SUNSHINE_VER=v2025.924.154138
USER root
RUN add-apt-repository multiverse && \
apt-get update && \
apt-get install -y steam && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /home/ubuntu/.steam && \
chown -R ubuntu:ubuntu /home/ubuntu/.steam/
RUN set -eux; \
cd /tmp; \
DEB="sunshine-ubuntu-24.04-amd64.deb"; \
URL="https://github.com/LizardByte/Sunshine/releases/download/${SUNSHINE_VER}/${DEB}"; \
wget -O "${DEB}" "${URL}"; \
apt-get update; \
apt-get install -y --no-install-recommends "./${DEB}" && \
rm -rf /var/lib/apt/lists/* "/tmp/${DEB}"
RUN mkdir -p /home/ubuntu/.config/sunshine && \
chown -R ubuntu:ubuntu /home/ubuntu/.config/sunshine
RUN chmod 0666 /dev/uinput
EXPOSE 47984/tcp 48010/tcp
EXPOSE 47989/udp 47990/udp
USER 1000