summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-08-01 22:52:58 -0400
committerxudan <xudan16@huawei.com>2017-08-01 22:52:58 -0400
commit0613773ea94a9d2d4a553348b3c5363cef2dd93c (patch)
tree660a5da15f9547d0650232e74887f60cd90d53a6 /docker
parent26e2f9ff08e86d661fd6a0ad9b3d6dfefedcc2d7 (diff)
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 <xudan16@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
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 \