From 8523fcf3085aa8423277ddde2f9a80c239ba8d98 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Thu, 17 Sep 2015 17:07:05 +0800 Subject: Fix: install "initscripts" package for CentOS 6 Dockerfile to emulate normal OS behavior. --- centos6-onbuild/Dockerfile | 4 ++++ centos6/Dockerfile | 4 ++++ 2 files changed, 8 insertions(+) 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 && \ \ -- cgit v1.2.3