-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
108 lines (102 loc) · 3.11 KB
/
Dockerfile
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arch
# 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=SteamOS
RUN \
echo "**** install vanilla 32 bit packages from multilib ****" && \
echo '[multilib]' >> /etc/pacman.conf && \
echo 'Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf && \
pacman -Sy --noconfirm --needed \
lib32-amdvlk \
lib32-glibc \
lib32-libva-intel-driver \
lib32-libva-mesa-driver \
lib32-libvdpau \
lib32-mangohud \
lib32-mesa-utils \
lib32-mesa \
lib32-vulkan-intel \
lib32-vulkan-mesa-layers \
lib32-vulkan-radeon \
lib32-vulkan-swrast \
libva-intel-driver \
libva-utils \
mesa-vdpau \
vulkan-swrast && \
echo "**** add steam repos ****" && \
echo '[jupiter-staging]' >> /etc/pacman.conf && \
echo 'Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch' >> /etc/pacman.conf && \
echo 'SigLevel = Never' >> /etc/pacman.conf && \
echo '[holo-staging]' >> /etc/pacman.conf && \
echo 'Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch' >> /etc/pacman.conf && \
echo 'SigLevel = Never' >> /etc/pacman.conf && \
pacman -Syyu --noconfirm && \
echo "**** install packages ****" && \
pacman -Sy --noconfirm --needed \
boost-libs \
dmidecode \
dolphin \
firefox \
fuse2 \
gamescope \
git \
gperftools \
jq \
kate \
konsole \
lib32-gamescope \
lib32-gcc-libs \
lib32-libpulse \
lib32-libunwind \
lib32-mesa \
lib32-opencl-mesa \
lib32-renderdoc-minimal \
mangohud \
noto-fonts-cjk \
plasma-desktop \
sddm \
steamdeck-kde-presets \
steam-jupiter-stable \
steamos-customizations \
unzip \
xdg-user-dirs \
xorg-xwayland \
zenity && \
echo "**** install sunshine ****" && \
cd /tmp && \
git clone https://aur.archlinux.org/sunshine.git && \
chown -R abc:abc sunshine && \
cd sunshine && \
sed -i '/CXXFLAGS/i sudo chown -R 911:1001 \/config' PKGBUILD && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
usermod -G input abc && \
echo "**** install fix for games using source engine ****" && \
cd /tmp && \
git clone https://aur.archlinux.org/lib32-gperftools.git && \
chown -R abc:abc lib32-gperftools && \
cd lib32-gperftools && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
usermod -G input abc && \
echo "**** steam tweaks ****" && \
sed -i 's/-steamdeck//g' /usr/bin/steam && \
echo "**** kde tweaks ****" && \
sed -i \
-e 's/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g' \
-e 's#preferred://browser#applications:firefox.desktop#g' \
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \
echo "**** cleanup ****" && \
rm -rf \
/config/.cache \
/config/.npm \
/tmp/* \
/var/cache/pacman/pkg/* \
/var/lib/pacman/sync/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3000
VOLUME /config