From 7b2618d5a775fd669a36076e6f8d2380aa73af69 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Thu, 25 Feb 2016 11:11:20 +0800 Subject: Fix: remove the need for an 'echo -e' option due to inconsistency treatments among various Linux distributions and versions. For example: Ubuntu 12.04 and 14.04. --- 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 1ae1f81..7d6caf0 100644 --- a/centos7-onbuild/Dockerfile +++ b/centos7-onbuild/Dockerfile @@ -45,7 +45,7 @@ RUN echo "===> Installing EPEL..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts + echo 'localhost' > /etc/ansible/hosts COPY ansible-playbook-wrapper /usr/local/bin/ -- cgit v1.2.3