blob: 789df911509d992fb1569e71591cad7b9ddde58f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
########################################
# Docker container for OPNFV-REPORTING
########################################
# Purpose: run opnfv-reporting to provide consistent Testing reporting
#
# Maintained by Morgan Richomme
# Build:
# $ docker build -t opnfv/testreporting:tag .
##
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
FROM nginx:stable
MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
LABEL version="danube.1.0" description="OPNFV Test Reporting Docker container"
ARG BRANCH=master
ENV HOME /home/opnfv
ENV working_dir /home/opnfv/utils/test/reporting
ENV TERM xterm
ENV COLORTERM gnome-terminal
ENV CONFIG_REPORTING_YAML /home/opnfv/utils/test/reporting/reporting.yaml
# Packaged dependencies
RUN apt-get update && apt-get install -y \
ssh \
git-core \
wkhtmltopdf \
--no-install-recommends
RUN pip install --upgrade pip
RUN pip install -r ${working_dir}/docker/requirements.txt
RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng /home/opnfv
WORKDIR ${working_dir}
CMD ["bash", "./docker/reporting.sh"]
CMD ["bash", "mv display /usr/share/nginx/html"]
|