From a8aa5c011bab589aef558768b5c91004d0c13fd0 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Fri, 11 Dec 2015 11:52:38 +0800 Subject: Fix: newline character for CentOS 6/7 series. Credit: https://github.com/William-Yeh/docker-ansible/issues/8 --- centos7-onbuild/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'centos7-onbuild/Dockerfile') diff --git a/centos7-onbuild/Dockerfile b/centos7-onbuild/Dockerfile index c6d2694..6862eb9 100644 --- a/centos7-onbuild/Dockerfile +++ b/centos7-onbuild/Dockerfile @@ -40,7 +40,7 @@ RUN echo "===> Installing EPEL..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo '[local]\nlocalhost\n' > /etc/ansible/hosts + echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts COPY ansible-playbook-wrapper /usr/local/bin/ -- cgit v1.2.3