aboutsummaryrefslogtreecommitdiffhomepage
path: root/master-debian7-onbuild
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-05-09 16:34:32 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-05-10 17:17:33 +0800
commit97d48efeb67f4f7566752625ad3ce233f31985be (patch)
tree20ce7984d99bf5f6b770fce81384790027723517 /master-debian7-onbuild
parentb314855954aa117b1294056891d16f43a6b1b9d0 (diff)
downloaddocker-ansible-97d48efeb67f4f7566752625ad3ce233f31985be.tar.gz
docker-ansible-97d48efeb67f4f7566752625ad3ce233f31985be.tar.zst
docker-ansible-97d48efeb67f4f7566752625ad3ce233f31985be.zip
Add: support for Ubuntu 16.04 LTS (Xenial).
Fix: 1. OS-level packages `libffi-dev` and `libssl-dev`/`openssl-dev` should be installed explicitly since Ansible 2.0.2.0(???). 2. Python package cffi should be installed explicitly since Ansible 2.0.2.0(???). 3. add '--fix-missing' for apt. @see https://github.com/boxcutter/ubuntu/issues/62 @see https://github.com/pyca/cryptography/issues/2280
Diffstat (limited to 'master-debian7-onbuild')
-rw-r--r--master-debian7-onbuild/Dockerfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/master-debian7-onbuild/Dockerfile b/master-debian7-onbuild/Dockerfile
index 1222020..e787e2d 100644
--- a/master-debian7-onbuild/Dockerfile
+++ b/master-debian7-onbuild/Dockerfile
@@ -12,14 +12,16 @@ FROM debian:wheezy
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
14 14
15RUN echo "===> Adding Ansible's prerequisites..." && \ 15RUN echo "===> Adding Ansible's prerequisites..." && \
16 apt-get update -y && \ 16 apt-get update -y && apt-get install --fix-missing && \
17 DEBIAN_FRONTEND=noninteractive \ 17 DEBIAN_FRONTEND=noninteractive \
18 apt-get install --no-install-recommends -y -q \ 18 apt-get install --no-install-recommends -y -q \
19 build-essential ca-certificates \ 19 build-essential ca-certificates \
20 python-pip python-dev python-yaml \ 20 python-pip python-dev python-yaml \
21 libffi-dev libssl-dev \
21 libxml2-dev libxslt1-dev zlib1g-dev \ 22 libxml2-dev libxslt1-dev zlib1g-dev \
22 git sudo curl && \ 23 git sudo curl && \
24 pip install --upgrade cffi && \
23 pip install --upgrade pyyaml jinja2 pycrypto && \ 25 pip install --upgrade pyyaml jinja2 pycrypto && \
24 \ 26 \
25 \ 27 \
@@ -40,11 +42,11 @@ RUN echo "===> Adding Ansible's prerequisites..." && \
40 rm -rf /ansible && \ 42 rm -rf /ansible && \
41 \ 43 \
42 \ 44 \
43 echo "===> Clean up..." && \ 45 echo "===> Clean up..." && \
44 apt-get remove -y --auto-remove \ 46 apt-get remove -y --auto-remove \
45 build-essential python-pip python-dev git && \ 47 build-essential python-pip python-dev git libffi-dev libssl-dev && \
46 apt-get clean && \ 48 apt-get clean && \
47 rm -rf /var/lib/apt/lists/* && \ 49 rm -rf /var/lib/apt/lists/* && \
48 \ 50 \
49 \ 51 \
50 echo "===> Adding hosts for convenience..." && \ 52 echo "===> Adding hosts for convenience..." && \