From faf50c5d000ccf3a7523ba153798b20c44bd7142 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Fri, 16 Dec 2016 07:34:13 +0000 Subject: Bugfix: reporting docker image build failed JIRA: RELENG-181 Since we just decide to use dynamic server, we need to deploy a dynamic server such as tornado . But when I use the Dockerfile to build image, it failed due to some reasons. So I need fix it first and then deploy the dynamic server. Then we can use this command: docker run -it -d -p 8080:80 opnfv/releng:latest And visit reporting page by http://server_ip:8080/display/... Change-Id: Id04575c7b38e4c07625ce217d23ebca1c5bf0191 Signed-off-by: chenjiankun --- reporting/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'reporting/docker/Dockerfile') diff --git a/reporting/docker/Dockerfile b/reporting/docker/Dockerfile index 789df91..b5fe098 100644 --- a/reporting/docker/Dockerfile +++ b/reporting/docker/Dockerfile @@ -29,15 +29,15 @@ ENV CONFIG_REPORTING_YAML /home/opnfv/utils/test/reporting/reporting.yaml # Packaged dependencies RUN apt-get update && apt-get install -y \ ssh \ +python-pip \ 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 +RUN pip install -r ${working_dir}/docker/requirements.pip WORKDIR ${working_dir} -CMD ["bash", "./docker/reporting.sh"] -CMD ["bash", "mv display /usr/share/nginx/html"] +RUN docker/reporting.sh -- cgit 1.2.3-korg