1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd 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 ##############################################################################
11 MAINTAINER MatthewLi <matthew.lijun@huawei.com>
13 LABEL image=opnfv/bottlenecks
16 ENV REPOS_DIR /home/opnfv
19 ENV BOTTLENECKS_REPO_DIR ${REPOS_DIR}/bottlenecks
20 ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
22 #new test suite required packages can be added here
23 RUN apt-get update && apt-get install -y \
35 python-setuptools && \
36 easy_install -U setuptools
38 RUN apt-get -y autoremove && \
41 RUN mkdir -p ${REPOS_DIR}
43 RUN git config --global http.sslVerify false
44 RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
45 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
47 RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements.txt