diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-02-24 10:10:03 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-02-24 12:48:48 +0800 |
commit | de4433f39c6cf4258845db2ee8a7757500d943c2 (patch) | |
tree | bc73f0c0ef2ca7c15c0c1be155321ebc2a4406dd /master-ubuntu14.04-onbuild | |
parent | bbf8289365a90905bb1b9d461fd09e2a13ad8c3a (diff) | |
download | docker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.tar.gz docker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.tar.zst docker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.zip |
Update: use PyPI repo instead of too-old EPEL for CentOS images.
Fix: escaping '\n' character in echo command.
Credit: two PRs from tilgovi:
- https://github.com/William-Yeh/docker-ansible/pull/10
- https://github.com/William-Yeh/docker-ansible/pull/11
Update: Alpine image to 3.3
Diffstat (limited to 'master-ubuntu14.04-onbuild')
-rw-r--r-- | master-ubuntu14.04-onbuild/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/master-ubuntu14.04-onbuild/Dockerfile b/master-ubuntu14.04-onbuild/Dockerfile index a27deb5..cd49dc4 100644 --- a/master-ubuntu14.04-onbuild/Dockerfile +++ b/master-ubuntu14.04-onbuild/Dockerfile | |||
@@ -49,7 +49,7 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ | |||
49 | \ | 49 | \ |
50 | echo "===> Adding hosts for convenience..." && \ | 50 | echo "===> Adding hosts for convenience..." && \ |
51 | mkdir -p /etc/ansible && \ | 51 | mkdir -p /etc/ansible && \ |
52 | echo '[local]\nlocalhost\n' > /etc/ansible/hosts | 52 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts |
53 | 53 | ||
54 | 54 | ||
55 | ENV PATH /opt/ansible/bin:$PATH | 55 | ENV PATH /opt/ansible/bin:$PATH |