summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-12-18 08:09:52 +0000
committerLeo wang <grakiss.wanglei@huawei.com>2017-12-25 01:51:03 +0000
commit6c1edfb5272e5f3fb05e28d100dda25fd6320423 (patch)
treefa14dd0cf616f09c270ca67854cf0c3a8aaaa5dc
parentf47a55954465bd2b9471702d29bdd84301471ea1 (diff)
Bugfix: SSLError when login with linux fundation account
It is a quick fix. Change-Id: I72aabd5dd682074546259582cc91ba055d1decbe Signed-off-by: grakiss <grakiss.wanglei@huawei.com> (cherry picked from commit 463d282125ee4cfd45e75ae5f18dea58bbed1504)
-rw-r--r--cvp/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cvp/docker/Dockerfile b/cvp/docker/Dockerfile
index 46c57f4..f71423f 100644
--- a/cvp/docker/Dockerfile
+++ b/cvp/docker/Dockerfile
@@ -67,4 +67,6 @@ WORKDIR /home/dovetail/cvp
RUN pip install -r requirements.txt
RUN bash install.sh
+RUN sed -i '152,152s/)/,\ verify=False)/g' /usr/local/lib/python2.7/dist-packages/cas.py
+
CMD ["bash", "docker/start-server.sh"]