add qtip installation in Dockerfile 45/31745/1
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Fri, 24 Mar 2017 09:14:19 +0000 (17:14 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Sat, 25 Mar 2017 01:06:52 +0000 (01:06 +0000)
Docker build successfully on local. And QTIP cli works well.

Change-Id: I0916c73e67808ae170ff7b290b8e03b605be8e69
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
(cherry picked from commit 8c325e64ada6fb2cb4377e592fa204170c7d8513)

docker/Dockerfile

index d609273..d6f8fdd 100644 (file)
@@ -62,7 +62,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 -U -r $REPOS_DIR/qtip/requirements.txt
+RUN cd $REPOS_DIR/qtip && pip install -U .
 
 #Config supervisor
 RUN mkdir -p /var/log/supervisor