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 \
13 # -e "INSTALLER_TYPE=fuel/foreman" \
14 # -e "INSTALLER_IP=10.20.0.2/172.30.10.73" \
15 # -v $(pwd)/config_functest.yaml:/home/opnfv/functest/conf/config_functest.yaml
16 # opnfv/functest /bin/bash
18 # NOTE: providing config_functest.yaml is optional. If not provided, it will
19 # use the default one located in the repo
23 MAINTAINER Jose Lausuch <jose.lausuch@ericsson.com>
24 LABEL version="0.1" description="OPNFV Functest Docker container"
26 ENV repos_dir /home/opnfv/repos
28 # Packaged dependencies
29 RUN apt-get update && apt-get install -y \
46 --no-install-recommends
49 RUN mkdir -p ${repos_dir}
51 RUN git config --global http.sslVerify false
52 RUN git clone https://gerrit.opnfv.org/gerrit/functest ${repos_dir}/functest
53 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${repos_dir}/releng
54 RUN git clone https://github.com/openstack/rally.git ${repos_dir}/rally
55 RUN git clone https://github.com/opendaylight/integration.git ${repos_dir}/odl_integration
57 RUN pip install -r ${repos_dir}/functest/docker/requirements.pip