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 /debian7 | |
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 'debian7')
-rw-r--r-- | debian7/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian7/Dockerfile b/debian7/Dockerfile index 8fb30c8..e6d795e 100644 --- a/debian7/Dockerfile +++ b/debian7/Dockerfile | |||
@@ -32,7 +32,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ | |||
32 | \ | 32 | \ |
33 | echo "===> Adding hosts for convenience..." && \ | 33 | echo "===> Adding hosts for convenience..." && \ |
34 | mkdir -p /etc/ansible && \ | 34 | mkdir -p /etc/ansible && \ |
35 | echo '[local]\nlocalhost\n' > /etc/ansible/hosts | 35 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts |
36 | 36 | ||
37 | 37 | ||
38 | # default command: display Ansible version | 38 | # default command: display Ansible version |