]> git.immae.eu Git - github/fretlink/docker-ansible.git/commitdiff
Fix: install "initscripts" package for CentOS 7 Dockerfile to emulate normal OS behavior.
authorWilliam Yeh <william.pjyeh@gmail.com>
Fri, 18 Sep 2015 03:26:30 +0000 (11:26 +0800)
committerWilliam Yeh <william.pjyeh@gmail.com>
Fri, 18 Sep 2015 03:26:30 +0000 (11:26 +0800)
centos7-onbuild/Dockerfile
centos7/Dockerfile

index 64233d8a3d5454c3e52db892c33bcbc50716af5f..c6d2694de4472a2a38c1219ebc2f6cf486e8f40b 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 dd4b31c1750796b63840ac92dff893b4d9c66fb4..29e0f6f9b8d03f3fcb777fca7d0b0c222be05a16 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           && \
     \