aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-06-12 13:56:41 +0800
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-06-12 13:57:25 +0800
commit3820b894aee2b9ec3d887a2faaf31ed5023760ea (patch)
tree3178f7bd31853031a8c979b7c0d242e76602e823 /docker/Dockerfile
parent0142c227fca974fb65561d0aeb9b38c8683e22e6 (diff)
Fix docker build by using the build-arg BRANCH
Change-Id: If4f33edf764ba965cbefd9ce94528e78e69e345b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index bd756ff..a625e42 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -13,6 +13,9 @@ FROM centos:latest
MAINTAINER Luke Hinds <lhinds@redhat.com>
LABEL version="0.1" description="Anteater - OPNFV Gerrit Security Gate Checks"
+# environment variables
+ARG BRANCH=master
+
ENV HOME /home/opnfv
ENV ANT_HOME ${HOME}/anteater
RUN mkdir -p ${ANT_HOME}