With these changes we can pip install deps in Vagrant box and Docker
diff --git a/Dockerfile b/Dockerfile
index c835620..eb55b2f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,9 +6,9 @@
COPY requirements.txt /tmp/requirements.txt
# Install app dependencies
-RUN apk add build-base gcc abuild binutils python-dev && \
+RUN apk add build-base gcc abuild binutils python-dev libffi-dev openssl-dev && \
pip install -r /tmp/requirements.txt && \
- apk del --purge build-base gcc abuild binutils python-dev
+ apk del --purge build-base gcc abuild binutils python-dev libffi-dev openssl-dev
# Bundle app source
COPY voltha /voltha
diff --git a/ansible/roles/common/defaults/main.yml b/ansible/roles/common/defaults/main.yml
index d8351fb..d044b7b 100644
--- a/ansible/roles/common/defaults/main.yml
+++ b/ansible/roles/common/defaults/main.yml
@@ -7,6 +7,7 @@
- debian-archive-keyring
- python-dev
- libssl-dev
+ - libffi-dev
- python-virtualenv
obsolete_services: