From 873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Fri, 18 Sep 2015 11:26:30 +0800 Subject: Fix: install "initscripts" package for CentOS 7 Dockerfile to emulate normal OS behavior. --- centos7/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'centos7/Dockerfile') 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 && \ \ -- cgit v1.2.3