summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-01-14 11:52:01 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2017-01-16 08:51:54 +0800
commite97456e126db10e8ba261f60956e0032a492d7e6 (patch)
treec8a7990f8de699a16685ceaa2e529f9137636b8b /docker
parent0559cd7924467392659716115936c4ae1312a513 (diff)
Update Dockerfile
- Update pip version. The version of pip which is installed by apt-get is too low. - use "pip install -r reuirements.txt" to install requirements package. Change-Id: I94f94cab58cdb0d8e926c5dfbdbf9c9a66545dac Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 187fbc9e..aea1e994 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -13,13 +13,7 @@ RUN \
apt-transport-https \
--no-install-recommends \
&& \
- apt-get update && apt-get -y install docker.io \
-&& \
- pip install pbr \
- pyyaml \
- click \
- jinja2 \
- six
+ apt-get update && apt-get -y install docker.io
ENV HOME /home/opnfv
ENV REPOS_DIR ${HOME}/dovetail
@@ -32,6 +26,10 @@ RUN \
&& \
mkdir -p ${REPOS_DIR}/results \
&& \
+ pip install -U pip \
+&& \
+ pip install -r ${REPOS_DIR}/requirements.txt \
+&& \
cd ${REPOS_DIR} \
&& \
pip install .