Docker container for Yardstick CI
[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 ENV YARDSTICK_REPO_DIR /home/yardstick
15
16 RUN apt-get update && apt-get install -y \
17     wget \
18     git \
19     sshpass \
20     qemu-utils \
21     kpartx \
22     libffi-dev \
23     libssl-dev \
24     python \
25     python-dev \
26     python-setuptools && \
27     easy_install -U setuptools
28
29 RUN apt-get -y autoremove && \
30     apt-get clean
31
32 RUN git clone https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR}
33
34 COPY ./run_benchmarks /usr/local/bin/