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 /ubuntu14.04-onbuild/Dockerfile | |
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 'ubuntu14.04-onbuild/Dockerfile')
-rw-r--r-- | ubuntu14.04-onbuild/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubuntu14.04-onbuild/Dockerfile b/ubuntu14.04-onbuild/Dockerfile index 64dd859..295e88b 100644 --- a/ubuntu14.04-onbuild/Dockerfile +++ b/ubuntu14.04-onbuild/Dockerfile | |||
@@ -28,7 +28,7 @@ RUN echo "===> Adding Ansible's PPA..." && \ | |||
28 | \ | 28 | \ |
29 | \ | 29 | \ |
30 | echo "===> Adding hosts for convenience..." && \ | 30 | echo "===> Adding hosts for convenience..." && \ |
31 | echo '[local]\nlocalhost\n' > /etc/ansible/hosts | 31 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts |
32 | 32 | ||
33 | 33 | ||
34 | COPY ansible-playbook-wrapper /usr/local/bin/ | 34 | COPY ansible-playbook-wrapper /usr/local/bin/ |