Docker

Docker

Made by DeepSource

Use the -y switch for yum install DOK-W1008

Bug risk
Major

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

Bad Practice

FROM centos:8
RUN yum install httpd-2.24.4 && yum clean all

Recommended

FROM centos:8
RUN yum install -y httpd-2.24.4 && yum clean all