summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-01-04 07:09:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-04 07:09:48 +0000
commitae87ac6592474aea947bcbf6f9284d26eee11a5a (patch)
tree03542c2bb12cc1e70fe0dc59a8586344c44c3a3c
parent28edfefe25420964a8ca961f45f3b8860f60b6d6 (diff)
parent6e8faac5026ff8dd438cf7222651b54808f57317 (diff)
Merge "bugfix sslerror why login"
-rw-r--r--testapi/docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile
index 25deb26..33088c7 100644
--- a/testapi/docker/Dockerfile
+++ b/testapi/docker/Dockerfile
@@ -47,5 +47,11 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng-testresults /home/releng-te
WORKDIR /home/releng-testresults/testapi
RUN pip install -r requirements.txt
+
+# bugfix
+# SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net'
+# hope it is a temprary, try to fix it in upstream python-cas lib
+RUN sed -i '152,152s/)/,\ verify=False)/g' /usr/local/lib/python2.7/dist-packages/cas.py
+
RUN python setup.py install
CMD ["bash", "docker/start-server.sh"]