aboutsummaryrefslogtreecommitdiffhomepage
path: root/ubuntu16.04/Dockerfile
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-05-26 14:44:21 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-05-26 14:44:21 +0800
commit84d31fd8edaec467b7a22c9fcf9b0f3097539e6a (patch)
tree1a27497373306de94775f77475e1864fd81356a8 /ubuntu16.04/Dockerfile
parentc460a616de04e5571d8f8b5cb8a6f11832e38e3d (diff)
downloaddocker-ansible-84d31fd8edaec467b7a22c9fcf9b0f3097539e6a.tar.gz
docker-ansible-84d31fd8edaec467b7a22c9fcf9b0f3097539e6a.tar.zst
docker-ansible-84d31fd8edaec467b7a22c9fcf9b0f3097539e6a.zip
Update: Ansible PPA now supports the most recent version for Ubuntu 16.04 LTS (Xenial).
Diffstat (limited to 'ubuntu16.04/Dockerfile')
-rw-r--r--ubuntu16.04/Dockerfile11
1 files changed, 8 insertions, 3 deletions
diff --git a/ubuntu16.04/Dockerfile b/ubuntu16.04/Dockerfile
index cd27d3a..762c2da 100644
--- a/ubuntu16.04/Dockerfile
+++ b/ubuntu16.04/Dockerfile
@@ -11,15 +11,20 @@ FROM ubuntu:16.04
11 11
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
14RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ 14
15RUN echo "===> Adding Ansible's PPA..." && \
16 echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" | tee /etc/apt/sources.list.d/ansible.list && \
17 echo "deb-src http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/ansible.list && \
18 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7BB9C367 && \
19 DEBIAN_FRONTEND=noninteractive apt-get update && \
15 \ 20 \
16 \ 21 \
17 echo "===> Installing Ansible..." && \ 22 echo "===> Installing Ansible..." && \
18 apt-get install -y ansible && \ 23 apt-get install -y ansible && \
19 \ 24 \
20 \ 25 \
21 echo "===> Clean up..." && \ 26 echo "===> Removing Ansible PPA..." && \
22 rm -rf /var/lib/apt/lists/* && \ 27 rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/ansible.list && \
23 \ 28 \
24 \ 29 \
25 echo "===> Adding hosts for convenience..." && \ 30 echo "===> Adding hosts for convenience..." && \