diff options
Diffstat (limited to 'debian8-onbuild')
-rw-r--r-- | debian8-onbuild/Dockerfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/debian8-onbuild/Dockerfile b/debian8-onbuild/Dockerfile index c5fc227..f21a6b0 100644 --- a/debian8-onbuild/Dockerfile +++ b/debian8-onbuild/Dockerfile | |||
@@ -13,11 +13,13 @@ 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 | apt-get -y --purge remove python-cffi && \ | ||
22 | pip install --upgrade cffi && \ | ||
21 | \ | 23 | \ |
22 | \ | 24 | \ |
23 | echo "===> Installing Ansible..." && \ | 25 | echo "===> Installing Ansible..." && \ |
@@ -25,7 +27,8 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ | |||
25 | \ | 27 | \ |
26 | \ | 28 | \ |
27 | echo "===> Removing unused APT resources..." && \ | 29 | echo "===> Removing unused APT resources..." && \ |
28 | apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | 30 | apt-get -f -y --auto-remove remove \ |
31 | gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
29 | apt-get clean && \ | 32 | apt-get clean && \ |
30 | rm -rf /var/lib/apt/lists/* /tmp/* && \ | 33 | rm -rf /var/lib/apt/lists/* /tmp/* && \ |
31 | \ | 34 | \ |