summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-01 16:52:29 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-01 17:07:05 +0800
commit473deae9a10162f000c49ca49b4e31b28c4bf0d8 (patch)
tree1ef41b55783ef5c7fac65676d4307f27bceb6c0e /docker/Dockerfile
parent7f5d4f59f12920bc7ab226d7b20048e28a99575f (diff)
Install latest requirment packages
When I debug code in qtip container, I found the version of paramiko(1.16.0) is outdated. There is a bug based on this version.[1] Solution: 1. Pip install qtip requirment packages with -U. 2. Update dependent packages.[2][3] And docker image is built successfully on local. [1] http://stackoverflow.com/questions/42029415/ paramiko-futurewarning-ctr-mode-needs-counter-parameter [2] http://www.paramiko.org/installing.html [3] https://cryptography.io/en/latest/installation/ Change-Id: I9d90c49f7cf3048f4717a76ffcb19dab68a687d4 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f2a543e6..13665131 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -22,6 +22,9 @@ RUN apt-get update && apt-get install -y \
gcc \
ssh \
expect \
+ build-essential\
+ libssl-dev\
+ libffi-dev\
python-matplotlib \
python-dev \
python-pip \
@@ -57,7 +60,7 @@ RUN git config --global http.sslVerify false
RUN git clone -b $BRANCH https://gerrit.opnfv.org/gerrit/qtip $REPOS_DIR/qtip
RUN git clone https://gerrit.opnfv.org/gerrit/releng $REPOS_DIR/releng
-RUN pip install -r $REPOS_DIR/qtip/requirements.txt
+RUN pip install -U -r $REPOS_DIR/qtip/requirements.txt
#Config supervisor
RUN mkdir -p /var/log/supervisor