Skip to content

Commit 4b497cc

Browse files
authored
Clean dnf cache at the end of container build (#15)
1 parent 8567c52 commit 4b497cc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎build_files/build.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ dnf5 install -y p7zip
5757
7z x RetroArch.7z -o/opt/RetroArch
5858
dnf5 remove p7zip
5959

60+
rm RetroArch.7z
61+
6062
mv /opt/RetroArch/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage /opt/RetroArch/RetroArch.AppImage
6163
mv /opt/RetroArch/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home /opt/RetroArch/RetroArch.AppImage.home
6264
rm -d /opt/RetroArch/RetroArch-Linux-x86_64
65+
66+
### Clean dnf cache
67+
68+
dnf5 clean all

0 commit comments

Comments
 (0)