70d0be0afc3dfd7846e4c888ba949a99ede64500
[bottlenecks.git] / ci / docker / Dockerfile
1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd 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 MAINTAINER MatthewLi <matthew.lijun@huawei.com>
12
13 LABEL image=opnfv/bottlenecks
14
15 # GIT repo directory
16 ENV REPOS_DIR /home/opnfv
17
18 # Bottlenecks repo
19 ENV BOTTLENECKS_REPO_DIR ${REPOS_DIR}/bottlenecks
20 ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
21
22 #new test suite required packages can be added here
23 RUN apt-get update && apt-get install -y \
24     curl \
25     wget \
26     git \
27     sshpass \
28     python \
29     python-glanceclient \
30     python-heatclient \
31     python-keystoneclient \
32     python-neutronclient \
33     python-novaclient
34
35 RUN apt-get -y autoremove && \
36     apt-get clean
37
38 RUN mkdir -p ${REPOS_DIR}
39
40 RUN git config --global http.sslVerify false
41 RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
42 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
43
44 #COPY ./run_tests.sh /usr/local/bin/