diff options
author | William Yeh <william.pjyeh@gmail.com> | 2015-12-15 06:38:42 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2015-12-15 12:00:31 +0800 |
commit | 930848e72e00c9f72fd4302e02dd1c7747696363 (patch) | |
tree | 776d96738371319b6eee8901eeaac0134eefa4f5 /centos7 | |
parent | a8aa5c011bab589aef558768b5c91004d0c13fd0 (diff) | |
download | docker-ansible-930848e72e00c9f72fd4302e02dd1c7747696363.tar.gz docker-ansible-930848e72e00c9f72fd4302e02dd1c7747696363.tar.zst docker-ansible-930848e72e00c9f72fd4302e02dd1c7747696363.zip |
Add: building from source tree.
Fix: systemd conflicts with new CentOS7 image;
See https://forums.docker.com/t/yum-update-fails-for-centos-7-container/5060
Fix: ca-certificates should be installed in Debian 7 for `git clone` source tree.
Diffstat (limited to 'centos7')
-rw-r--r-- | centos7/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/centos7/Dockerfile b/centos7/Dockerfile index c12c301..238b50f 100644 --- a/centos7/Dockerfile +++ b/centos7/Dockerfile | |||
@@ -22,7 +22,7 @@ RUN echo "===> Installing EPEL..." && \ | |||
22 | \ | 22 | \ |
23 | \ | 23 | \ |
24 | echo "===> Installing initscripts to emulate normal OS behavior..." && \ | 24 | echo "===> Installing initscripts to emulate normal OS behavior..." && \ |
25 | yum -y install initscripts && \ | 25 | yum -y install initscripts systemd-container-EOL && \ |
26 | \ | 26 | \ |
27 | \ | 27 | \ |
28 | echo "===> Installing Ansible..." && \ | 28 | echo "===> Installing Ansible..." && \ |