We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dnf clean all
dnf
RUN dnf install -y httpd-2.24.2
RUN dnf install -y httpd-2.24.2 && dnf clean all
Clean cached package data after installation to reduce image size.
https://docs.docker.com/engine/articles/dockerfile_best-practices/
Clean up must be performed in the same RUN step, otherwise it will not affect image size.
RUN