1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
12 LABEL image=opnfv/yardstick
15 ENV REPOS_DIR /home/opnfv/repos
18 ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick
19 ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
21 RUN apt-get update && apt-get install -y \
31 python-setuptools && \
32 easy_install -U setuptools
34 RUN apt-get -y autoremove && \
37 RUN mkdir -p ${REPOS_DIR}
39 RUN git config --global http.sslVerify false
40 RUN git clone https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR}
41 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
43 ADD http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img /home/opnfv/images/
45 COPY ./run_tests.sh /usr/local/bin/