aboutsummaryrefslogtreecommitdiffhomepage
path: root/alpine3
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 /alpine3
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
Diffstat (limited to 'alpine3')
-rw-r--r--alpine3/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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