diff options
author | William Yeh <william.pjyeh@gmail.com> | 2015-09-18 11:26:30 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2015-09-18 11:26:30 +0800 |
commit | 873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6 (patch) | |
tree | 5859a99f8b0c4074fd9a5b41c21fdb8c6640f957 /centos7 | |
parent | 8523fcf3085aa8423277ddde2f9a80c239ba8d98 (diff) | |
download | docker-ansible-873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6.tar.gz docker-ansible-873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6.tar.zst docker-ansible-873a4b535c20b03d42cc9d30caae1c7dd6c5a7d6.zip |
Fix: install "initscripts" package for CentOS 7 Dockerfile to emulate normal OS behavior.
Diffstat (limited to 'centos7')
-rw-r--r-- | centos7/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
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..." && \ | |||
21 | yum -y install epel-release && \ | 21 | yum -y install epel-release && \ |
22 | \ | 22 | \ |
23 | \ | 23 | \ |
24 | echo "===> Installing initscripts to emulate normal OS behavior..." && \ | ||
25 | yum -y install initscripts && \ | ||
26 | \ | ||
27 | \ | ||
24 | echo "===> Installing Ansible..." && \ | 28 | echo "===> Installing Ansible..." && \ |
25 | yum -y install ansible sudo && \ | 29 | yum -y install ansible sudo && \ |
26 | \ | 30 | \ |