]> git.immae.eu Git - github/fretlink/docker-ansible.git/commitdiff
Fix: install "initscripts" package for CentOS 6 Dockerfile to emulate normal OS behavior.
authorWilliam Yeh <william.pjyeh@gmail.com>
Thu, 17 Sep 2015 09:07:05 +0000 (17:07 +0800)
committerWilliam Yeh <william.pjyeh@gmail.com>
Thu, 17 Sep 2015 09:07:05 +0000 (17:07 +0800)
centos6-onbuild/Dockerfile
centos6/Dockerfile

index 85f1e180781e2d8e333604aedcbdce01cd9d26da..972b5dc11ef4e03e6f4fa9699f471690bcdc4351 100644 (file)
@@ -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           && \
     \
index 9a11b01f7e5b1b00dd7cf2bbb9492b1d0aae6b44..8d21a6bf1b488898fabd527796e7ed2a9fa0f95e 100644 (file)
@@ -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           && \
     \