Pattern: Missing dnf clean all
for dnf
Issue: -
Clean cached package data after installation to reduce image size.
Example of incorrect code:
RUN dnf install -y httpd-2.24.2
Example of correct code:
RUN dnf install -y httpd-2.24.2 && dnf clean all