diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-02-25 11:11:20 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-02-25 11:11:20 +0800 |
commit | 7b2618d5a775fd669a36076e6f8d2380aa73af69 (patch) | |
tree | aa0c605de300b84b96a183a38ca110d3a3105a7a /master-debian7-onbuild/Dockerfile | |
parent | 090ca1a3055b77d22c601546c09e7ef0432f56c4 (diff) | |
download | docker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.tar.gz docker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.tar.zst docker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.zip |
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.
Diffstat (limited to 'master-debian7-onbuild/Dockerfile')
-rw-r--r-- | master-debian7-onbuild/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/master-debian7-onbuild/Dockerfile b/master-debian7-onbuild/Dockerfile index 41f7ba9..1222020 100644 --- a/master-debian7-onbuild/Dockerfile +++ b/master-debian7-onbuild/Dockerfile | |||
@@ -49,7 +49,7 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ | |||
49 | \ | 49 | \ |
50 | echo "===> Adding hosts for convenience..." && \ | 50 | echo "===> Adding hosts for convenience..." && \ |
51 | mkdir -p /etc/ansible && \ | 51 | mkdir -p /etc/ansible && \ |
52 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts | 52 | echo 'localhost' > /etc/ansible/hosts |
53 | 53 | ||
54 | 54 | ||
55 | ENV PATH /opt/ansible/bin:$PATH | 55 | ENV PATH /opt/ansible/bin:$PATH |