From: William Yeh Date: Fri, 18 Sep 2015 03:26:30 +0000 (+0800) Subject: Fix: install "initscripts" package for CentOS 7 Dockerfile to emulate normal OS behavior. X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6;p=github%2Ffretlink%2Fdocker-ansible.git Fix: install "initscripts" package for CentOS 7 Dockerfile to emulate normal OS behavior. --- diff --git a/centos7-onbuild/Dockerfile b/centos7-onbuild/Dockerfile index 64233d8..c6d2694 100644 --- a/centos7-onbuild/Dockerfile +++ b/centos7-onbuild/Dockerfile @@ -21,6 +21,10 @@ RUN echo "===> Installing EPEL..." && \ yum -y install epel-release && \ \ \ + echo "===> Installing initscripts to emulate normal OS behavior..." && \ + yum -y install initscripts && \ + \ + \ echo "===> Installing Ansible..." && \ yum -y install ansible sudo && \ \ diff --git a/centos7/Dockerfile b/centos7/Dockerfile index dd4b31c..29e0f6f 100644 --- a/centos7/Dockerfile +++ b/centos7/Dockerfile @@ -21,6 +21,10 @@ RUN echo "===> Installing EPEL..." && \ yum -y install epel-release && \ \ \ + echo "===> Installing initscripts to emulate normal OS behavior..." && \ + yum -y install initscripts && \ + \ + \ echo "===> Installing Ansible..." && \ yum -y install ansible sudo && \ \