]> git.immae.eu Git - github/fretlink/docker-ansible.git/blobdiff - debian8/Dockerfile
Add: support for Ubuntu 16.04 LTS (Xenial).
[github/fretlink/docker-ansible.git] / debian8 / Dockerfile
index e7ead92898c397d052a0d8823cc40e72637c3a70..1a3023973dde8fc44d3e7912411bc85f298d4a6b 100644 (file)
@@ -13,11 +13,13 @@ MAINTAINER William Yeh <william.pjyeh@gmail.com>
 
 
 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/*                           && \
     \