summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-07-24 15:02:38 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-07-24 15:02:38 -0700
commitb0c2d5ecb29b87ca864ec4168901328fb6c6ea0e (patch)
tree439431816362a2d964b31bfefb67e6a90317f3d8 /docker/storperf-reporting
parent5e01201c1f4d757dfde2eafff10f7ecec370dbdd (diff)
Add BRANCH Argument to Dockerfiles
This is a requirement for OPNFV CI to build Dockerfiles and allows builds to perform branch specific actions. Change-Id: I46c5c99a74e0c9a235a483a4be32f3bd283e0ccd Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'docker/storperf-reporting')
-rw-r--r--docker/storperf-reporting/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/storperf-reporting/Dockerfile b/docker/storperf-reporting/Dockerfile
index 3e8a95a..bbcbdb3 100644
--- a/docker/storperf-reporting/Dockerfile
+++ b/docker/storperf-reporting/Dockerfile
@@ -19,6 +19,8 @@ FROM alpine:3.1
MAINTAINER Mark Beierl <mark.beierl@dell.com>
LABEL version="0.1" description="OPNFV Storperf Reporting Container"
+ARG BRANCH=master
+
RUN apk add --update python py-pip
COPY . /home/opnfv/storperf-reporting
@@ -28,4 +30,4 @@ RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt
CMD ["python", "app.py"]
-EXPOSE 5000 \ No newline at end of file
+EXPOSE 5000