Bugfix: Build docker image failed because of lacking of packages 73/38573/1
authorxudan <xudan16@huawei.com>
Wed, 2 Aug 2017 02:52:58 +0000 (22:52 -0400)
committerxudan <xudan16@huawei.com>
Wed, 2 Aug 2017 02:52:58 +0000 (22:52 -0400)
commit0613773ea94a9d2d4a553348b3c5363cef2dd93c
tree660a5da15f9547d0650232e74887f60cd90d53a6
parent26e2f9ff08e86d661fd6a0ad9b3d6dfefedcc2d7
Bugfix: Build docker image failed because of lacking of packages

JIRA: DOVETAIL-475

1. Dovetail fails to build Docker image.
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>
docker/Dockerfile