aboutsummaryrefslogtreecommitdiffstats
path: root/ci/docker/yardstick-ci/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ci/docker/yardstick-ci/Dockerfile')
-rw-r--r--ci/docker/yardstick-ci/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/docker/yardstick-ci/Dockerfile b/ci/docker/yardstick-ci/Dockerfile
index a1cf9160f..91d29da33 100644
--- a/ci/docker/yardstick-ci/Dockerfile
+++ b/ci/docker/yardstick-ci/Dockerfile
@@ -42,6 +42,11 @@ RUN git config --global http.sslVerify false
RUN git clone https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR}
RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
+# install yardstick + dependencies
+RUN cd ${YARDSTICK_REPO_DIR} && easy_install -U pip
+RUN cd ${YARDSTICK_REPO_DIR} && pip install -r ci/requirements.txt
+RUN cd ${YARDSTICK_REPO_DIR} && pip install .
+
ADD http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img /home/opnfv/images/
COPY ./run_tests.sh /usr/local/bin/