aboutsummaryrefslogtreecommitdiffhomepage
path: root/ubuntu16.04-onbuild/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-onbuild/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-onbuild/Dockerfile')
-rw-r--r--ubuntu16.04-onbuild/Dockerfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/ubuntu16.04-onbuild/Dockerfile b/ubuntu16.04-onbuild/Dockerfile
index cc28d8c..6b53763 100644
--- a/ubuntu16.04-onbuild/Dockerfile
+++ b/ubuntu16.04-onbuild/Dockerfile
@@ -12,15 +12,19 @@ FROM ubuntu:16.04
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
14 14
15RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ 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 && \
16 \ 20 \
17 \ 21 \
18 echo "===> Installing Ansible..." && \ 22 echo "===> Installing Ansible..." && \
19 apt-get install -y ansible && \ 23 apt-get install -y ansible && \
20 \ 24 \
21 \ 25 \
22 echo "===> Clean up..." && \ 26 echo "===> Removing Ansible PPA..." && \
23 rm -rf /var/lib/apt/lists/* && \ 27 rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/ansible.list && \
24 \ 28 \
25 \ 29 \
26 echo "===> Adding hosts for convenience..." && \ 30 echo "===> Adding hosts for convenience..." && \