aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-02-24 10:10:03 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-02-24 12:48:48 +0800
commitde4433f39c6cf4258845db2ee8a7757500d943c2 (patch)
treebc73f0c0ef2ca7c15c0c1be155321ebc2a4406dd
parentbbf8289365a90905bb1b9d461fd09e2a13ad8c3a (diff)
downloaddocker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.tar.gz
docker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.tar.zst
docker-ansible-de4433f39c6cf4258845db2ee8a7757500d943c2.zip
Update: use PyPI repo instead of too-old EPEL for CentOS images.
Fix: escaping '\n' character in echo command. Credit: two PRs from tilgovi: - https://github.com/William-Yeh/docker-ansible/pull/10 - https://github.com/William-Yeh/docker-ansible/pull/11 Update: Alpine image to 3.3
-rw-r--r--README.md10
-rw-r--r--alpine3-onbuild/Dockerfile4
-rw-r--r--alpine3/Dockerfile4
-rw-r--r--centos6-onbuild/Dockerfile17
-rw-r--r--centos6/Dockerfile17
-rw-r--r--centos7-onbuild/Dockerfile15
-rw-r--r--centos7/Dockerfile15
-rw-r--r--debian7-onbuild/Dockerfile2
-rw-r--r--debian7/Dockerfile2
-rw-r--r--debian8-onbuild/Dockerfile2
-rw-r--r--debian8/Dockerfile2
-rw-r--r--master-debian7-onbuild/Dockerfile2
-rw-r--r--master-debian7/Dockerfile2
-rw-r--r--master-debian8-onbuild/Dockerfile2
-rw-r--r--master-debian8/Dockerfile2
-rw-r--r--master-ubuntu12.04-onbuild/Dockerfile2
-rw-r--r--master-ubuntu12.04/Dockerfile2
-rw-r--r--master-ubuntu14.04-onbuild/Dockerfile2
-rw-r--r--master-ubuntu14.04/Dockerfile2
-rw-r--r--ubuntu12.04-onbuild/Dockerfile2
-rw-r--r--ubuntu12.04/Dockerfile2
-rw-r--r--ubuntu14.04-onbuild/Dockerfile2
-rw-r--r--ubuntu14.04/Dockerfile2
23 files changed, 67 insertions, 47 deletions
diff --git a/README.md b/README.md
index 34febff..4294a46 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa
23 23
24## Images and tags 24## Images and tags
25 25
26### Stable series (installed from official PyPI repo): 26### Stable version (installed from official PyPI repo):
27 27
28- Normal series: 28- Normal series:
29 29
@@ -45,7 +45,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa
45 - `williamyeh/ansible:centos6-onbuild` 45 - `williamyeh/ansible:centos6-onbuild`
46 - `williamyeh/ansible:alpine3-onbuild` 46 - `williamyeh/ansible:alpine3-onbuild`
47 47
48### Experimental series (building from the git `master` source tree): 48### Experimental version (building directly from the git `master` source tree; use at your own risk!):
49 49
50- Normal series: 50- Normal series:
51 51
@@ -95,7 +95,7 @@ Third, `docker build .`
95 95
96Done! 96Done!
97 97
98For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/list#/roles/2245) demonstrates how to perform a simple smoke test (*configuration needs test, too!*) on a variety of (*containerized*) Linux distributions via [CircleCI](https://circleci.com/)'s Ubuntu 12.04 and [Travis CI](https://travis-ci.org/)’s Ubuntu 14.04 worker instances. 98For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/williamyeh/nginx/) demonstrates how to perform a simple smoke test (*configuration needs test, too!*) on a variety of (*containerized*) Linux distributions via [CircleCI](https://circleci.com/)'s Ubuntu 12.04 and [Travis CI](https://travis-ci.org/)’s Ubuntu 14.04 worker instances.
99 99
100 100
101 101
@@ -148,9 +148,9 @@ Vagrant.configure(2) do |config|
148 #config.vm.box = "ubuntu/precise64" 148 #config.vm.box = "ubuntu/precise64"
149 #config.vm.box = "debian/jessie64" 149 #config.vm.box = "debian/jessie64"
150 #config.vm.box = "debian/wheezy64" 150 #config.vm.box = "debian/wheezy64"
151 #config.vm.box = "bento/centos-7.1" 151 #config.vm.box = "bento/centos-7.2"
152 #config.vm.box = "bento/centos-6.7" 152 #config.vm.box = "bento/centos-6.7"
153 #config.vm.box = "maier/alpine-3.1.3-x86_64" 153 #config.vm.box = "maier/alpine-3.3.1-x86_64"
154 154
155 155
156 # ==> Executing Ansible... 156 # ==> Executing Ansible...
diff --git a/alpine3-onbuild/Dockerfile b/alpine3-onbuild/Dockerfile
index 41d6fab..cef5b3b 100644
--- a/alpine3-onbuild/Dockerfile
+++ b/alpine3-onbuild/Dockerfile
@@ -7,7 +7,7 @@
7 7
8 8
9# pull base image 9# pull base image
10FROM alpine:3.2 10FROM alpine:3.3
11 11
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
@@ -29,7 +29,7 @@ RUN echo "===> Adding Python runtime..." && \
29 \ 29 \
30 echo "===> Adding hosts for convenience..." && \ 30 echo "===> Adding hosts for convenience..." && \
31 mkdir -p /etc/ansible && \ 31 mkdir -p /etc/ansible && \
32 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 32 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
33 33
34 34
35COPY ansible-playbook-wrapper /usr/local/bin/ 35COPY ansible-playbook-wrapper /usr/local/bin/
diff --git a/alpine3/Dockerfile b/alpine3/Dockerfile
index 04efa90..d156f30 100644
--- a/alpine3/Dockerfile
+++ b/alpine3/Dockerfile
@@ -7,7 +7,7 @@
7 7
8 8
9# pull base image 9# pull base image
10FROM alpine:3.2 10FROM alpine:3.3
11 11
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
@@ -29,7 +29,7 @@ RUN echo "===> Adding Python runtime..." && \
29 \ 29 \
30 echo "===> Adding hosts for convenience..." && \ 30 echo "===> Adding hosts for convenience..." && \
31 mkdir -p /etc/ansible && \ 31 mkdir -p /etc/ansible && \
32 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 32 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
33 33
34 34
35# default command: display Ansible version 35# default command: display Ansible version
diff --git a/centos6-onbuild/Dockerfile b/centos6-onbuild/Dockerfile
index ece25a1..6c94671 100644
--- a/centos6-onbuild/Dockerfile
+++ b/centos6-onbuild/Dockerfile
@@ -22,20 +22,25 @@ RUN echo "===> Installing EPEL..." && \
22 \ 22 \
23 \ 23 \
24 echo "===> Installing initscripts to emulate normal OS behavior..." && \ 24 echo "===> Installing initscripts to emulate normal OS behavior..." && \
25 yum -y install initscripts && \ 25 yum -y install initscripts sudo && \
26 \
27 \
28 echo "===> Adding Ansible's prerequisites..." && \
29 yum -y install gcc python-devel python-pip && \
30 pip install --upgrade pip && \
26 \ 31 \
27 \ 32 \
28 echo "===> Installing Ansible..." && \ 33 echo "===> Installing Ansible..." && \
29 yum -y install ansible sudo && \ 34 pip install ansible && \
30 \ 35 \
31 \ 36 \
32 echo "===> Disabling sudo 'requiretty' setting..." && \ 37 echo "===> Disabling sudo 'requiretty' setting..." && \
33 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 38 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
34 \ 39 \
35 \ 40 \
36 echo "===> Removing unused YUM resources..." && \ 41 echo "===> Removing unused YUM resources..." && \
37 yum -y remove epel-release && \ 42 yum -y remove epel-release gcc python-devel python-pip && \
38 yum clean all && \ 43 yum clean all && \
39 \ 44 \
40 \ 45 \
41 echo "===> Adding hosts for convenience..." && \ 46 echo "===> Adding hosts for convenience..." && \
diff --git a/centos6/Dockerfile b/centos6/Dockerfile
index ab34589..fc051d6 100644
--- a/centos6/Dockerfile
+++ b/centos6/Dockerfile
@@ -22,20 +22,25 @@ RUN echo "===> Installing EPEL..." && \
22 \ 22 \
23 \ 23 \
24 echo "===> Installing initscripts to emulate normal OS behavior..." && \ 24 echo "===> Installing initscripts to emulate normal OS behavior..." && \
25 yum -y install initscripts && \ 25 yum -y install initscripts sudo && \
26 \
27 \
28 echo "===> Adding Ansible's prerequisites..." && \
29 yum -y install gcc python-devel python-pip && \
30 pip install --upgrade pip && \
26 \ 31 \
27 \ 32 \
28 echo "===> Installing Ansible..." && \ 33 echo "===> Installing Ansible..." && \
29 yum -y install ansible sudo && \ 34 pip install ansible && \
30 \ 35 \
31 \ 36 \
32 echo "===> Disabling sudo 'requiretty' setting..." && \ 37 echo "===> Disabling sudo 'requiretty' setting..." && \
33 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 38 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
34 \ 39 \
35 \ 40 \
36 echo "===> Removing unused YUM resources..." && \ 41 echo "===> Removing unused YUM resources..." && \
37 yum -y remove epel-release && \ 42 yum -y remove epel-release gcc python-devel python-pip && \
38 yum clean all && \ 43 yum clean all && \
39 \ 44 \
40 \ 45 \
41 echo "===> Adding hosts for convenience..." && \ 46 echo "===> Adding hosts for convenience..." && \
diff --git a/centos7-onbuild/Dockerfile b/centos7-onbuild/Dockerfile
index 8d9bea8..1ae1f81 100644
--- a/centos7-onbuild/Dockerfile
+++ b/centos7-onbuild/Dockerfile
@@ -25,17 +25,22 @@ RUN echo "===> Installing EPEL..." && \
25 yum -y install initscripts systemd-container-EOL && \ 25 yum -y install initscripts systemd-container-EOL && \
26 \ 26 \
27 \ 27 \
28 echo "===> Adding Ansible's prerequisites..." && \
29 yum -y install gcc python-devel python-pip && \
30 pip install --upgrade pip && \
31 \
32 \
28 echo "===> Installing Ansible..." && \ 33 echo "===> Installing Ansible..." && \
29 yum -y install ansible sudo && \ 34 pip install ansible && \
30 \ 35 \
31 \ 36 \
32 echo "===> Disabling sudo 'requiretty' setting..." && \ 37 echo "===> Disabling sudo 'requiretty' setting..." && \
33 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 38 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
34 \ 39 \
35 \ 40 \
36 echo "===> Removing unused YUM resources..." && \ 41 echo "===> Removing unused YUM resources..." && \
37 yum -y remove epel-release && \ 42 yum -y remove epel-release gcc python-devel python-pip && \
38 yum clean all && \ 43 yum clean all && \
39 \ 44 \
40 \ 45 \
41 echo "===> Adding hosts for convenience..." && \ 46 echo "===> Adding hosts for convenience..." && \
diff --git a/centos7/Dockerfile b/centos7/Dockerfile
index 238b50f..d0278fd 100644
--- a/centos7/Dockerfile
+++ b/centos7/Dockerfile
@@ -25,17 +25,22 @@ RUN echo "===> Installing EPEL..." && \
25 yum -y install initscripts systemd-container-EOL && \ 25 yum -y install initscripts systemd-container-EOL && \
26 \ 26 \
27 \ 27 \
28 echo "===> Adding Ansible's prerequisites..." && \
29 yum -y install gcc python-devel python-pip && \
30 pip install --upgrade pip && \
31 \
32 \
28 echo "===> Installing Ansible..." && \ 33 echo "===> Installing Ansible..." && \
29 yum -y install ansible sudo && \ 34 pip install ansible && \
30 \ 35 \
31 \ 36 \
32 echo "===> Disabling sudo 'requiretty' setting..." && \ 37 echo "===> Disabling sudo 'requiretty' setting..." && \
33 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 38 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
34 \ 39 \
35 \ 40 \
36 echo "===> Removing unused YUM resources..." && \ 41 echo "===> Removing unused YUM resources..." && \
37 yum -y remove epel-release && \ 42 yum -y remove epel-release gcc python-devel python-pip && \
38 yum clean all && \ 43 yum clean all && \
39 \ 44 \
40 \ 45 \
41 echo "===> Adding hosts for convenience..." && \ 46 echo "===> Adding hosts for convenience..." && \
diff --git a/debian7-onbuild/Dockerfile b/debian7-onbuild/Dockerfile
index 662289f..e593355 100644
--- a/debian7-onbuild/Dockerfile
+++ b/debian7-onbuild/Dockerfile
@@ -32,7 +32,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
32 \ 32 \
33 echo "===> Adding hosts for convenience..." && \ 33 echo "===> Adding hosts for convenience..." && \
34 mkdir -p /etc/ansible && \ 34 mkdir -p /etc/ansible && \
35 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 35 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
36 36
37 37
38COPY ansible-playbook-wrapper /usr/local/bin/ 38COPY ansible-playbook-wrapper /usr/local/bin/
diff --git a/debian7/Dockerfile b/debian7/Dockerfile
index 8fb30c8..e6d795e 100644
--- a/debian7/Dockerfile
+++ b/debian7/Dockerfile
@@ -32,7 +32,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
32 \ 32 \
33 echo "===> Adding hosts for convenience..." && \ 33 echo "===> Adding hosts for convenience..." && \
34 mkdir -p /etc/ansible && \ 34 mkdir -p /etc/ansible && \
35 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 35 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
36 36
37 37
38# default command: display Ansible version 38# default command: display Ansible version
diff --git a/debian8-onbuild/Dockerfile b/debian8-onbuild/Dockerfile
index 573e498..2727135 100644
--- a/debian8-onbuild/Dockerfile
+++ b/debian8-onbuild/Dockerfile
@@ -32,7 +32,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
32 \ 32 \
33 echo "===> Adding hosts for convenience..." && \ 33 echo "===> Adding hosts for convenience..." && \
34 mkdir -p /etc/ansible && \ 34 mkdir -p /etc/ansible && \
35 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 35 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
36 36
37 37
38COPY ansible-playbook-wrapper /usr/local/bin/ 38COPY ansible-playbook-wrapper /usr/local/bin/
diff --git a/debian8/Dockerfile b/debian8/Dockerfile
index 7e0a8aa..c643c19 100644
--- a/debian8/Dockerfile
+++ b/debian8/Dockerfile
@@ -32,7 +32,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
32 \ 32 \
33 echo "===> Adding hosts for convenience..." && \ 33 echo "===> Adding hosts for convenience..." && \
34 mkdir -p /etc/ansible && \ 34 mkdir -p /etc/ansible && \
35 echo '[local]\nlocalhost\n' > /etc/ansible/hosts 35 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
36 36
37 37
38# default command: display Ansible version 38# default command: display Ansible version
diff --git a/master-debian7-onbuild/Dockerfile b/master-debian7-onbuild/Dockerfile
index 958e926..41f7ba9 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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-debian7/Dockerfile b/master-debian7/Dockerfile
index 0a32f5c..0c19f7c 100644
--- a/master-debian7/Dockerfile
+++ b/master-debian7/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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-debian8-onbuild/Dockerfile b/master-debian8-onbuild/Dockerfile
index d8e8802..d3066e3 100644
--- a/master-debian8-onbuild/Dockerfile
+++ b/master-debian8-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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-debian8/Dockerfile b/master-debian8/Dockerfile
index 80c28f0..1615ae5 100644
--- a/master-debian8/Dockerfile
+++ b/master-debian8/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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-ubuntu12.04-onbuild/Dockerfile b/master-ubuntu12.04-onbuild/Dockerfile
index 6206dd2..38b1039 100644
--- a/master-ubuntu12.04-onbuild/Dockerfile
+++ b/master-ubuntu12.04-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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-ubuntu12.04/Dockerfile b/master-ubuntu12.04/Dockerfile
index 6206dd2..38b1039 100644
--- a/master-ubuntu12.04/Dockerfile
+++ b/master-ubuntu12.04/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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-ubuntu14.04-onbuild/Dockerfile b/master-ubuntu14.04-onbuild/Dockerfile
index a27deb5..cd49dc4 100644
--- a/master-ubuntu14.04-onbuild/Dockerfile
+++ b/master-ubuntu14.04-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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/master-ubuntu14.04/Dockerfile b/master-ubuntu14.04/Dockerfile
index 648a313..19075cc 100644
--- a/master-ubuntu14.04/Dockerfile
+++ b/master-ubuntu14.04/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 '[local]\nlocalhost\n' > /etc/ansible/hosts 52 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
53 53
54 54
55ENV PATH /opt/ansible/bin:$PATH 55ENV PATH /opt/ansible/bin:$PATH
diff --git a/ubuntu12.04-onbuild/Dockerfile b/ubuntu12.04-onbuild/Dockerfile
index 20ab8a1..c754846 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 '[local]\nlocalhost\n' > /etc/ansible/hosts 31 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
32 32
33 33
34COPY ansible-playbook-wrapper /usr/local/bin/ 34COPY ansible-playbook-wrapper /usr/local/bin/
diff --git a/ubuntu12.04/Dockerfile b/ubuntu12.04/Dockerfile
index 47eb6a3..0cbb2d8 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 '[local]\nlocalhost\n' > /etc/ansible/hosts 31 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
32 32
33 33
34# default command: display Ansible version 34# default command: display Ansible version
diff --git a/ubuntu14.04-onbuild/Dockerfile b/ubuntu14.04-onbuild/Dockerfile
index 64dd859..295e88b 100644
--- a/ubuntu14.04-onbuild/Dockerfile
+++ b/ubuntu14.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 '[local]\nlocalhost\n' > /etc/ansible/hosts 31 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
32 32
33 33
34COPY ansible-playbook-wrapper /usr/local/bin/ 34COPY ansible-playbook-wrapper /usr/local/bin/
diff --git a/ubuntu14.04/Dockerfile b/ubuntu14.04/Dockerfile
index e38b12c..99dd21f 100644
--- a/ubuntu14.04/Dockerfile
+++ b/ubuntu14.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 '[local]\nlocalhost\n' > /etc/ansible/hosts 31 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
32 32
33 33
34# default command: display Ansible version 34# default command: display Ansible version