diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-06-12 13:56:41 +0800 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-06-12 13:57:25 +0800 |
commit | 3820b894aee2b9ec3d887a2faaf31ed5023760ea (patch) | |
tree | 3178f7bd31853031a8c979b7c0d242e76602e823 /docker | |
parent | 0142c227fca974fb65561d0aeb9b38c8683e22e6 (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')
-rw-r--r-- | docker/Dockerfile | 3 |
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} |