File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ RUN pacman -S \
45
45
--noconfirm && \
46
46
wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/install.sh -O /usr/bin/latencyflex && \
47
47
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex && \
48
- chmod +x /usr/bin/latencyflex
48
+ chmod +x /usr/bin/latencyflex && \
49
+ pacman -S --clean --clean && \
50
+ rm -rf /var/cache/pacman/pkg/*
49
51
# Steam/Lutris/Wine installed separately so they use the dependencies above and don't try to install their own.
50
52
51
53
# Create build user
@@ -77,6 +79,7 @@ RUN sed -i 's@ (Runtime)@@g' /usr/share/applications/steam.desktop && \
77
79
rm -drf /home/build && \
78
80
sed -i '/build ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
79
81
sed -i '/root ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
82
+ rm -rf /home/build/.cache/* && \
80
83
rm -rf \
81
84
/tmp/* \
82
85
/var/cache/pacman/pkg/*
@@ -91,10 +94,10 @@ RUN sed -i 's/-march=native -mtune=native/-march=x86-64 -mtune=generic/g' /etc/m
91
94
pacman -S \
92
95
xdg-desktop-portal-gtk \
93
96
xdg-desktop-portal-gnome \
94
- --noconfirm
97
+ --noconfirm && \
98
+ rm -rf /var/cache/pacman/pkg/*
95
99
96
100
# Cleanup
97
101
RUN sed -i 's/-march=x86-64 -mtune=generic/-march=native -mtune=native/g' /etc/makepkg.conf && \
98
102
rm -rf \
99
- /tmp/* \
100
- /var/cache/pacman/pkg/*
103
+ /tmp/*
You can’t perform that action at this time.
0 commit comments