From 0613773ea94a9d2d4a553348b3c5363cef2dd93c Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 1 Aug 2017 22:52:58 -0400 Subject: Bugfix: Build docker image failed because of lacking of packages JIRA: DOVETAIL-475 1. Dovetail fails to build Docker image. CI Link: https://build.opnfv.org/ci/view/dovetail/job/dovetail-docker-build-push-master/162/console Traceback: Running setup.py install for cryptography c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory 2. Refer to https://cryptography.io/en/latest/installation/ For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: sudo apt-get install build-essential libssl-dev libffi-dev python-dev Change-Id: Icb705823c58d8a557175d48b00745119c0a6b3b9 Signed-off-by: xudan --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index eb85ea49..c4b11213 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,8 +8,11 @@ RUN \ apt-get update \ && \ apt-get install -y \ + build-essential \ gcc \ git \ + libssl-dev \ + libffi-dev \ vim \ python-dev \ python-mock \ -- cgit 1.2.3-korg