-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
94 lines (88 loc) · 2.79 KB
/
Dockerfile
File metadata and controls
94 lines (88 loc) · 2.79 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
# title
ENV TITLE=Steam \
PIXELFLUX_WAYLAND=true \
NO_DECOR=true
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/steam-logo.png && \
echo "**** install packages ****" && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc-multilib \
libc6:i386 \
libegl1:i386 \
libgbm1:i386 \
libgl1:i386 \
libgl1-mesa-dri:i386 \
mesa-libgallium:i386 \
mesa-va-drivers:i386 \
mesa-vulkan-drivers:i386 \
steam-libs \
steam-libs-amd64 \
steam-libs-i386 \
zenity && \
echo "**** install steam ****" && \
curl -o \
/tmp/steam.deb -L \
"https://cdn.fastly.steamstatic.com/client/installer/steam.deb" && \
apt-get install -y \
/tmp/steam.deb && \
echo "**** install umu run ****" && \
UMU_RELEASE=$(curl -sX GET "https://api.github.com/repos/Open-Wine-Components/umu-launcher/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
curl -o \
/tmp/umu.deb -L \
"https://github.com/Open-Wine-Components/umu-launcher/releases/download/${UMU_RELEASE}/python3-umu-launcher_${UMU_RELEASE}-1_amd64_debian-13.deb" && \
apt-get install -y \
/tmp/umu.deb && \
echo "**** install protonupqt ****" && \
PRQT_RELEASE=$(curl -sX GET "https://api.github.com/repos/DavidoTek/ProtonUp-Qt/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
curl -o \
/tmp/prqt.app -L \
"https://github.com/DavidoTek/ProtonUp-Qt/releases/download/${PRQT_RELEASE}/ProtonUp-Qt-$(echo ${PRQT_RELEASE} | sed 's/^v//g')-x86_64.AppImage" && \
cd /tmp && \
chmod +x prqt.app && \
./prqt.app --appimage-extract && \
mv squashfs-root /opt/protonup-qt && \
echo "**** install 32 bit interposers ****" && \
cd /tmp && \
git clone \
https://github.com/selkies-project/selkies.git && \
cd selkies/addons/js-interposer && \
gcc -m32 -shared -fPIC -ldl \
-o selkies_joystick_interposer_32.so \
joystick_interposer.c && \
mv \
selkies_joystick_interposer_32.so \
/usr/lib/selkies_joystick_interposer_32.so && \
cd ../fake-udev && \
make CC="gcc -m32" && \
mv \
libudev.so.1.0.0-fake \
/opt/lib/libudev.so.1.0.0-fake_32 && \
cp \
/opt/lib/* \
/usr/lib/ && \
ldconfig && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3001
VOLUME /config