diff options
Diffstat (limited to 'master-debian7-onbuild/Dockerfile')
-rw-r--r-- | master-debian7-onbuild/Dockerfile | 14 |
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 | |||
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 | 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..." && \ |