X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=debian8%2FDockerfile;h=1a3023973dde8fc44d3e7912411bc85f298d4a6b;hb=97d48efeb67f4f7566752625ad3ce233f31985be;hp=e7ead92898c397d052a0d8823cc40e72637c3a70;hpb=b314855954aa117b1294056891d16f43a6b1b9d0;p=github%2Ffretlink%2Fdocker-ansible.git diff --git a/debian8/Dockerfile b/debian8/Dockerfile index e7ead92..1a30239 100644 --- a/debian8/Dockerfile +++ b/debian8/Dockerfile @@ -13,11 +13,13 @@ MAINTAINER William Yeh RUN echo "===> Installing python, sudo, and supporting tools..." && \ - apt-get update && \ + apt-get update -y && apt-get install --fix-missing && \ DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ python python-yaml sudo \ - curl gcc python-pip python-dev && \ + curl gcc python-pip python-dev libffi-dev libssl-dev && \ + apt-get -y --purge remove python-cffi && \ + pip install --upgrade cffi && \ \ \ echo "===> Installing Ansible..." && \ @@ -25,7 +27,8 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ \ \ echo "===> Removing unused APT resources..." && \ - apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ + apt-get -f -y --auto-remove remove \ + gcc python-pip python-dev libffi-dev libssl-dev && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* && \ \