summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-06-17 16:26:33 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-06-17 16:26:33 +0800
commitc15092271987dc8afc0ed785a7570cf9b6c31345 (patch)
tree18b5a15b235588a90be4210e53e4b7911cda1db7
parent297eef48bf620160e90caa86d0bbc9c5a9417425 (diff)
bugfix ssl issues induces by access to lfHEADmaster
Change-Id: Iab166dc14982f7bfe0d26b60eb8ee537deedd613 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r--testapi/docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile
index 86999d9..dccc162 100644
--- a/testapi/docker/Dockerfile
+++ b/testapi/docker/Dockerfile
@@ -48,5 +48,10 @@ 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"]