217c136154cd65c6a712f5c8184ddc5cc926e7bb
[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
12 LABEL image=opnfv/bottlenecks
13
14 # GIT repo directory
15 ENV REPOS_DIR /home/opnfv
16
17 # Bottlenecks repo
18 ENV BOTTLENECKS_REPO_DIR ${REPOS_DIR}/bottlenecks
19 ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
20
21 #new test suite required packages can be added here
22 RUN apt-get update && apt-get install -y \
23     curl \
24     wget \
25     git \
26     sshpass \
27     python \
28     python-glanceclient \
29     python-heatclient \
30     python-keystoneclient \
31     python-neutronclient \
32     python-novaclient
33
34 RUN apt-get -y autoremove && \
35     apt-get clean
36
37 RUN mkdir -p ${REPOS_DIR}
38
39 RUN git config --global http.sslVerify false
40 # TODO fix code clone handler
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