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. --- master-ubuntu14.04-onbuild/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'master-ubuntu14.04-onbuild') diff --git a/master-ubuntu14.04-onbuild/Dockerfile b/master-ubuntu14.04-onbuild/Dockerfile index cd49dc4..937d783 100644 --- a/master-ubuntu14.04-onbuild/Dockerfile +++ b/master-ubuntu14.04-onbuild/Dockerfile @@ -49,7 +49,7 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts + echo 'localhost' > /etc/ansible/hosts ENV PATH /opt/ansible/bin:$PATH -- cgit v1.2.3