diff options
author | mbeierl <mark.beierl@dell.com> | 2017-07-12 21:41:01 -0400 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-07-12 21:50:39 -0400 |
commit | 9efa75fa08dad32b95ada37bb8e22371c51626c3 (patch) | |
tree | f99a71595108d64aa643f5137c73842a8f362be1 /docker/storperf-reporting | |
parent | 7602a54309adbe5c5346ee6befecc2e596976504 (diff) |
Creation of Local Docker for Daily Job
Moves the dockerfiles for the different submodules/containers into
their respective directories.
Adds a docker compose file that can build the containers from the
local filesystem, and mounts the local filesystem as a volume,
making it easier for developer testing as local changes are
automatically reflected in the final container.
Change-Id: I2376034258cab2a3dc3a0d1ac3f01bbf5d1f59e7
JIRA: STORPERF-189
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/storperf-reporting')
-rw-r--r-- | docker/storperf-reporting/Dockerfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docker/storperf-reporting/Dockerfile b/docker/storperf-reporting/Dockerfile new file mode 100644 index 0000000..606bac0 --- /dev/null +++ b/docker/storperf-reporting/Dockerfile @@ -0,0 +1,30 @@ +############################################################################## +# Copyright (c) 2017 Dell EMC and others. +# +# 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 +############################################################################## +# Docker container for StorPerf Graphing and Reporting module +# +# Purpose: self-contained image that can create reports and graphs of data +# +# Build: +# $ docker build -t opnfv/storperf-reporting:tag . +## + + +FROM alpine:3.1 +MAINTAINER Mark Beierl <mark.beierl@dell.com> +LABEL version="0.1" description="OPNFV Storperf Reporting Container" + +RUN apk add --update python py-pip + +COPY . /home/opnfv/storperf-reporting +WORKDIR /home/opnfv/storperf-reporting +RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt + +CMD ["python", "app.py"] + +EXPOSE 5000
\ No newline at end of file |