1 ########################################
2 # Docker container for FUNCTEST
3 ########################################
4 # Purpose: run all the tests against the POD
5 # from a pre-installed docker image
7 # Maintained by Jose Lausuch
9 # $ docker build -t opnfv/functest:tag .
12 # $ docker run -t -i -e "INSTALLER_TYPE=fuel/foreman" \
13 # -e "INSTALLER_IP=10.20.0.2/172.30.10.73" opnfv/functest
18 MAINTAINER Jose Lausuch <jose.lausuch@ericsson.com>
19 LABEL version="0.1" description="OPNFV Functest Docker container"
21 ENV repos_dir /home/opnfv/repos
23 # Packaged dependencies
24 RUN apt-get update && apt-get install -y \
41 --no-install-recommends
44 RUN mkdir -p ${repos_dir}
46 RUN git config --global http.sslVerify false
47 RUN git clone https://gerrit.opnfv.org/gerrit/functest ${repos_dir}/functest
48 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${repos_dir}/releng
49 RUN git clone https://github.com/openstack/rally.git ${repos_dir}/rally
51 RUN pip install -r ${repos_dir}/functest/docker/requirements.pip
52 RUN chmod 744 ${repos_dir}/functest/docker/start.sh