diff options
Diffstat (limited to 'debian7')
-rw-r--r-- | debian7/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/debian7/Dockerfile b/debian7/Dockerfile index 73ea5d9..25cc25b 100644 --- a/debian7/Dockerfile +++ b/debian7/Dockerfile | |||
@@ -13,11 +13,12 @@ MAINTAINER William Yeh <william.pjyeh@gmail.com> | |||
13 | 13 | ||
14 | 14 | ||
15 | RUN echo "===> Installing python, sudo, and supporting tools..." && \ | 15 | RUN echo "===> Installing python, sudo, and supporting tools..." && \ |
16 | apt-get update && \ | 16 | apt-get update -y && apt-get install --fix-missing && \ |
17 | DEBIAN_FRONTEND=noninteractive \ | 17 | DEBIAN_FRONTEND=noninteractive \ |
18 | apt-get install -y \ | 18 | apt-get install -y \ |
19 | python python-yaml sudo \ | 19 | python python-yaml sudo \ |
20 | curl gcc python-pip python-dev && \ | 20 | curl gcc python-pip python-dev libffi-dev libssl-dev && \ |
21 | pip install --upgrade cffi && \ | ||
21 | \ | 22 | \ |
22 | \ | 23 | \ |
23 | echo "===> Installing Ansible..." && \ | 24 | echo "===> Installing Ansible..." && \ |
@@ -25,7 +26,8 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ | |||
25 | \ | 26 | \ |
26 | \ | 27 | \ |
27 | echo "===> Removing unused APT resources..." && \ | 28 | echo "===> Removing unused APT resources..." && \ |
28 | apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | 29 | apt-get -f -y --auto-remove remove \ |
30 | gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
29 | apt-get clean && \ | 31 | apt-get clean && \ |
30 | rm -rf /var/lib/apt/lists/* /tmp/* && \ | 32 | rm -rf /var/lib/apt/lists/* /tmp/* && \ |
31 | \ | 33 | \ |