diff options
Diffstat (limited to 'master-debian8')
-rw-r--r-- | master-debian8/Dockerfile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/master-debian8/Dockerfile b/master-debian8/Dockerfile index fcf957c..d18b0f8 100644 --- a/master-debian8/Dockerfile +++ b/master-debian8/Dockerfile | |||
@@ -12,14 +12,17 @@ FROM debian:jessie | |||
12 | MAINTAINER William Yeh <william.pjyeh@gmail.com> | 12 | MAINTAINER William Yeh <william.pjyeh@gmail.com> |
13 | 13 | ||
14 | 14 | ||
15 | RUN echo "===> Adding Ansible's prerequisites..." && \ | 15 | RUN 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 | apt-get -y --purge remove python-cffi && \ | ||
25 | pip install --upgrade cffi && \ | ||
23 | pip install --upgrade pyyaml jinja2 pycrypto && \ | 26 | pip install --upgrade pyyaml jinja2 pycrypto && \ |
24 | \ | 27 | \ |
25 | \ | 28 | \ |
@@ -40,11 +43,11 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ | |||
40 | rm -rf /ansible && \ | 43 | rm -rf /ansible && \ |
41 | \ | 44 | \ |
42 | \ | 45 | \ |
43 | echo "===> Clean up..." && \ | 46 | echo "===> Clean up..." && \ |
44 | apt-get remove -y --auto-remove \ | 47 | apt-get remove -y --auto-remove \ |
45 | build-essential python-pip python-dev git && \ | 48 | build-essential python-pip python-dev git libffi-dev libssl-dev && \ |
46 | apt-get clean && \ | 49 | apt-get clean && \ |
47 | rm -rf /var/lib/apt/lists/* && \ | 50 | rm -rf /var/lib/apt/lists/* && \ |
48 | \ | 51 | \ |
49 | \ | 52 | \ |
50 | echo "===> Adding hosts for convenience..." && \ | 53 | echo "===> Adding hosts for convenience..." && \ |