File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ RUN pacman -S \
4545 --noconfirm && \
4646 wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/install.sh -O /usr/bin/latencyflex && \
4747 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/*
4951 # Steam/Lutris/Wine installed separately so they use the dependencies above and don't try to install their own.
5052
5153# Create build user
@@ -77,6 +79,7 @@ RUN sed -i 's@ (Runtime)@@g' /usr/share/applications/steam.desktop && \
7779 rm -drf /home/build && \
7880 sed -i '/build ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
7981 sed -i '/root ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
82+ rm -rf /home/build/.cache/* && \
8083 rm -rf \
8184 /tmp/* \
8285 /var/cache/pacman/pkg/*
@@ -91,10 +94,10 @@ RUN sed -i 's/-march=native -mtune=native/-march=x86-64 -mtune=generic/g' /etc/m
9194 pacman -S \
9295 xdg-desktop-portal-gtk \
9396 xdg-desktop-portal-gnome \
94- --noconfirm
97+ --noconfirm && \
98+ rm -rf /var/cache/pacman/pkg/*
9599
96100# Cleanup
97101RUN sed -i 's/-march=x86-64 -mtune=generic/-march=native -mtune=native/g' /etc/makepkg.conf && \
98102 rm -rf \
99- /tmp/* \
100- /var/cache/pacman/pkg/*
103+ /tmp/*
You can’t perform that action at this time.
0 commit comments