[web-cvp]failed to build docker image due to setuptools version 13/44913/1
authorgrakiss <grakiss.wanglei@huawei.com>
Thu, 12 Oct 2017 10:30:00 +0000 (06:30 -0400)
committergrakiss <grakiss.wanglei@huawei.com>
Thu, 12 Oct 2017 10:32:11 +0000 (06:32 -0400)
JIRA: DOVETAIL-526

error on docker build, upgrade the setuptools:
error in cryptography setup command: Invalid environment marker: python_version < '3'

Change-Id: If3b2b2ecd3a3e23f66cacb6a2048f15f1715dcd4
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
cvp/docker/Dockerfile

index d0a34f3..46c57f4 100644 (file)
@@ -46,6 +46,7 @@ libxml2-dev \
 libxslt1-dev \
 --no-install-recommends
 
+RUN pip install -U setuptools
 
 WORKDIR /home