From de4433f39c6cf4258845db2ee8a7757500d943c2 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Wed, 24 Feb 2016 10:10:03 +0800 Subject: 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 --- ubuntu12.04/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubuntu12.04') diff --git a/ubuntu12.04/Dockerfile b/ubuntu12.04/Dockerfile index 47eb6a3..0cbb2d8 100644 --- a/ubuntu12.04/Dockerfile +++ b/ubuntu12.04/Dockerfile @@ -28,7 +28,7 @@ RUN echo "===> Adding Ansible's PPA..." && \ \ \ echo "===> Adding hosts for convenience..." && \ - echo '[local]\nlocalhost\n' > /etc/ansible/hosts + echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts # default command: display Ansible version -- cgit v1.2.3