From: William Yeh Date: Thu, 17 Sep 2015 09:07:05 +0000 (+0800) Subject: Fix: install "initscripts" package for CentOS 6 Dockerfile to emulate normal OS behavior. X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=8523fcf3085aa8423277ddde2f9a80c239ba8d98;p=github%2Ffretlink%2Fdocker-ansible.git Fix: install "initscripts" package for CentOS 6 Dockerfile to emulate normal OS behavior. --- diff --git a/centos6-onbuild/Dockerfile b/centos6-onbuild/Dockerfile index 85f1e18..972b5dc 100644 --- a/centos6-onbuild/Dockerfile +++ b/centos6-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/centos6/Dockerfile b/centos6/Dockerfile index 9a11b01..8d21a6b 100644 --- a/centos6/Dockerfile +++ b/centos6/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 && \ \