diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-02-25 06:27:47 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-02-25 06:27:47 +0800 |
commit | 090ca1a3055b77d22c601546c09e7ef0432f56c4 (patch) | |
tree | c14d8d36e9e6b680250773aeabce32739df2943e | |
parent | de4433f39c6cf4258845db2ee8a7757500d943c2 (diff) | |
download | docker-ansible-090ca1a3055b77d22c601546c09e7ef0432f56c4.tar.gz docker-ansible-090ca1a3055b77d22c601546c09e7ef0432f56c4.tar.zst docker-ansible-090ca1a3055b77d22c601546c09e7ef0432f56c4.zip |
Rollback: escaping '\n' character in echo command for Ubuntu Precise (12.04).
-rw-r--r-- | ubuntu12.04-onbuild/Dockerfile | 2 | ||||
-rw-r--r-- | ubuntu12.04/Dockerfile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ubuntu12.04-onbuild/Dockerfile b/ubuntu12.04-onbuild/Dockerfile index c754846..20ab8a1 100644 --- a/ubuntu12.04-onbuild/Dockerfile +++ b/ubuntu12.04-onbuild/Dockerfile | |||
@@ -28,7 +28,7 @@ RUN echo "===> Adding Ansible's PPA..." && \ | |||
28 | \ | 28 | \ |
29 | \ | 29 | \ |
30 | echo "===> Adding hosts for convenience..." && \ | 30 | echo "===> Adding hosts for convenience..." && \ |
31 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts | 31 | echo '[local]\nlocalhost\n' > /etc/ansible/hosts |
32 | 32 | ||
33 | 33 | ||
34 | COPY ansible-playbook-wrapper /usr/local/bin/ | 34 | COPY ansible-playbook-wrapper /usr/local/bin/ |
diff --git a/ubuntu12.04/Dockerfile b/ubuntu12.04/Dockerfile index 0cbb2d8..47eb6a3 100644 --- a/ubuntu12.04/Dockerfile +++ b/ubuntu12.04/Dockerfile | |||
@@ -28,7 +28,7 @@ RUN echo "===> Adding Ansible's PPA..." && \ | |||
28 | \ | 28 | \ |
29 | \ | 29 | \ |
30 | echo "===> Adding hosts for convenience..." && \ | 30 | echo "===> Adding hosts for convenience..." && \ |
31 | echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts | 31 | echo '[local]\nlocalhost\n' > /etc/ansible/hosts |
32 | 32 | ||
33 | 33 | ||
34 | # default command: display Ansible version | 34 | # default command: display Ansible version |