From de4433f39c6cf4258845db2ee8a7757500d943c2 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Wed, 24 Feb 2016 10:10:03 +0800 Subject: 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 --- alpine3/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alpine3') diff --git a/alpine3/Dockerfile b/alpine3/Dockerfile index 04efa90..d156f30 100644 --- a/alpine3/Dockerfile +++ b/alpine3/Dockerfile @@ -7,7 +7,7 @@ # pull base image -FROM alpine:3.2 +FROM alpine:3.3 MAINTAINER William Yeh @@ -29,7 +29,7 @@ RUN echo "===> Adding Python runtime..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo '[local]\nlocalhost\n' > /etc/ansible/hosts + echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts # default command: display Ansible version -- cgit v1.2.3