1 ########################################
2 # Docker container for OPNFV-REPORTING
3 ########################################
4 # Purpose: run opnfv-reporting to provide consistent Testing reporting
6 # Maintained by Morgan Richomme
8 # $ docker build -t opnfv/testreporting:tag .
10 # All rights reserved. This program and the accompanying materials
11 # are made available under the terms of the Apache License, Version 2.0
12 # which accompanies this distribution, and is available at
13 # http://www.apache.org/licenses/LICENSE-2.0
18 MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
19 LABEL version="1.0" description="OPNFV Test Reporting Docker container"
24 ENV working_dir ${HOME}/releng/utils/test/reporting
25 ENV CONFIG_REPORTING_YAML ${working_dir}/reporting.yaml
28 # Packaged dependencies
29 RUN apt-get update && apt-get install -y \
36 --no-install-recommends
38 RUN pip install --upgrade pip
40 RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${HOME}/releng
41 RUN pip install -r ${working_dir}/requirements.txt
43 WORKDIR ${working_dir}
44 RUN python setup.py install
45 RUN docker/reporting.sh
46 RUN docker/web_server.sh
50 CMD ["/usr/bin/supervisord"]