Skip to content

Commit a03c5c3

Browse files
committed
Add missing cache clean
1 parent 6240872 commit a03c5c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/rhel/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ pkgs+=(rpm-build) # Required packaging tool.
3434
pkgs+=(rpmdevtools) # Required packaging tool.
3535
pkgs+=(wget) # Required build tool.
3636
dnf install -y --setopt=tsflags=nodocs "${pkgs[@]}"
37+
dnf -y clean all
38+
rm -rf /var/cache/dnf/*
3739
EOF
3840

3941
# Copy Bison and Flex from the Rocky Linux image.

0 commit comments

Comments
 (0)