diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-01-09 09:30:38 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-01-09 09:31:04 +0800 |
commit | b796d39afca636efdd99f3e3e9ac8fab6828f485 (patch) | |
tree | 058daaff16036ba8ecd37c6720fe17a2f57c43fc | |
parent | 99b9c09aca0ff3bc9a723bc404ea6a0d09ee4ef3 (diff) |
update requests and delete useless sed op
Change-Id: I0c865f097c08468adc66a519e065935a3b15f276
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r-- | testapi/docker/Dockerfile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile index 33088c7..bbf12fc 100644 --- a/testapi/docker/Dockerfile +++ b/testapi/docker/Dockerfile @@ -40,7 +40,7 @@ python-pip \ crudini \ --no-install-recommends -RUN pip install --upgrade pip +RUN pip install --upgrade pip requests RUN git config --global http.sslVerify false RUN git clone https://gerrit.opnfv.org/gerrit/releng-testresults /home/releng-testresults @@ -48,10 +48,5 @@ 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"] |