From 59444eeec86916dcf598768b0c63e949bd486763 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Mon, 9 May 2016 17:09:41 +0800 Subject: [PATCH] Fix: cffi @see https://github.com/pyca/cryptography/issues/2280 --- debian8-onbuild/Dockerfile | 2 ++ debian8/Dockerfile | 2 ++ master-debian8/Dockerfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/debian8-onbuild/Dockerfile b/debian8-onbuild/Dockerfile index 48f69b3..106b809 100644 --- a/debian8-onbuild/Dockerfile +++ b/debian8-onbuild/Dockerfile @@ -18,6 +18,8 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ apt-get install -y \ python python-yaml sudo \ curl gcc python-pip python-dev libffi-dev && \ + apt-get --purge remove python-cffi && \ + pip install --upgrade cffi && \ \ \ echo "===> Installing Ansible..." && \ diff --git a/debian8/Dockerfile b/debian8/Dockerfile index a99751f..8ea1441 100644 --- a/debian8/Dockerfile +++ b/debian8/Dockerfile @@ -18,6 +18,8 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \ apt-get install -y \ python python-yaml sudo \ curl gcc python-pip python-dev libffi-dev && \ + apt-get --purge remove python-cffi && \ + pip install --upgrade cffi && \ \ \ echo "===> Installing Ansible..." && \ diff --git a/master-debian8/Dockerfile b/master-debian8/Dockerfile index fcf957c..ac1c1b2 100644 --- a/master-debian8/Dockerfile +++ b/master-debian8/Dockerfile @@ -20,6 +20,8 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ python-pip python-dev python-yaml \ libxml2-dev libxslt1-dev zlib1g-dev \ git sudo curl && \ + apt-get --purge remove python-cffi && \ + pip install --upgrade cffi && \ pip install --upgrade pyyaml jinja2 pycrypto && \ \ \