-y
switch for yum install
DOK-W1008Without the -y
/--assume-yes
option it might be possible for the build to break without human intervention.
FROM centos:8
RUN yum install httpd-2.24.4 && yum clean all
FROM centos:8
RUN yum install -y httpd-2.24.4 && yum clean all