aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2015-09-17 17:07:05 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2015-09-17 17:07:05 +0800
commit8523fcf3085aa8423277ddde2f9a80c239ba8d98 (patch)
treed5ebfea04760c98eae4a6cb21aff7ee1bfd5fc53
parentae06b63dc27567ebe8b8fde7f32e268ae706182d (diff)
downloaddocker-ansible-8523fcf3085aa8423277ddde2f9a80c239ba8d98.tar.gz
docker-ansible-8523fcf3085aa8423277ddde2f9a80c239ba8d98.tar.zst
docker-ansible-8523fcf3085aa8423277ddde2f9a80c239ba8d98.zip
Fix: install "initscripts" package for CentOS 6 Dockerfile to emulate normal OS behavior.
-rw-r--r--centos6-onbuild/Dockerfile4
-rw-r--r--centos6/Dockerfile4
2 files changed, 8 insertions, 0 deletions
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..." && \
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 \
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..." && \
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 \