Docker

Docker

Made by DeepSource

Use the -y switch for dnf install DOK-W1009

Bug risk
Major

Without the -y/--assume-yes option it might be possible for the build to break without human intervention.

Bad Practice

FROM fedora:32
RUN dnf install httpd-2.4.46 && dnf clean all

Recommended

FROM fedora:32
RUN dnf install -y httpd-2.4.46 && dnf clean all