-
Notifications
You must be signed in to change notification settings - Fork 424
DL3030
Moritz Röhrich edited this page Oct 6, 2020
·
1 revision
FROM centos
RUN yum install httpd-2.24.4 && yum clean all
FROM centos
RUN yum install -y httpd-2.24.4 && yum clean all
Without the -y
flag or the equivalent --assumeyes
flag, yum will not successfully install a package, because human input is expected. The -y
flag makes yum assume 'yes' as the answer to prompts during the installation.