9a1e832620ee5a60515d68b62ad39fbfcb60c247
[yardstick.git] / ci / docker / yardstick-ci / Dockerfile
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 #
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 ##############################################################################
9
10 FROM ubuntu:14.04
11
12 LABEL image=opnfv/yardstick-ci
13
14 # GIT repo directory
15 ENV REPOS_DIR /home/opnfv/repos
16
17 # Yardstick repo
18 ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick
19
20 RUN apt-get update && apt-get install -y \
21     wget \
22     git \
23     sshpass \
24     qemu-utils \
25     kpartx \
26     libffi-dev \
27     libssl-dev \
28     python \
29     python-dev \
30     python-setuptools && \
31     easy_install -U setuptools
32
33 RUN apt-get -y autoremove && \
34     apt-get clean
35
36 RUN mkdir -p ${REPOS_DIR}
37
38 RUN git config --global http.sslVerify false
39 RUN git clone https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR}
40
41 COPY ./run_benchmarks /usr/local/bin/