aboutsummaryrefslogtreecommitdiffhomepage
path: root/alpine3
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 /alpine3
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 'alpine3')
-rw-r--r--alpine3/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/alpine3/Dockerfile b/alpine3/Dockerfile
index 28550b2..87b22c7 100644
--- a/alpine3/Dockerfile
+++ b/alpine3/Dockerfile
@@ -13,9 +13,10 @@ MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
14 14
15RUN echo "===> Adding Python runtime..." && \ 15RUN echo "===> Adding Python runtime..." && \
16 apk --update add python py-pip openssl ca-certificates && \ 16 apk --update add python py-pip openssl ca-certificates && \
17 apk --update add --virtual build-dependencies python-dev build-base && \ 17 apk --update add --virtual build-dependencies \
18 pip install --upgrade pip && \ 18 python-dev libffi-dev openssl-dev build-base && \
19 pip install --upgrade pip cffi && \
19 \ 20 \
20 \ 21 \
21 echo "===> Installing Ansible..." && \ 22 echo "===> Installing Ansible..." && \