From c9a575cf1e4f64cdd5eca2152461ce19b30e5c53 Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Tue, 27 Jun 2017 03:02:01 +0000 Subject: [PATCH] [mgmt slave] Install correct version of python-cffi --- sonic-mgmt/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonic-mgmt/Dockerfile b/sonic-mgmt/Dockerfile index f462b99cdf45..69c29eb4c716 100644 --- a/sonic-mgmt/Dockerfile +++ b/sonic-mgmt/Dockerfile @@ -26,6 +26,9 @@ RUN apt-get install -y default-jre # For syslog test RUN apt-get install -y rsyslog psmisc +# Remove cffi 1.5.2, will install 1.10.0 by pip later +RUN apt-get remove -y python-cffi python-cffi-backend + RUN easy_install pip RUN pip install ipaddr \ @@ -37,6 +40,7 @@ RUN pip install ipaddr \ pyasn1==0.1.9 \ pysnmp==4.2.5 \ jinja2==2.7.2 \ + cffi==1.10.0 \ paramiko==2.1.2 RUN git clone https://github.com/ansible/ansible