From 3820b894aee2b9ec3d887a2faaf31ed5023760ea Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 12 Jun 2017 13:56:41 +0800 Subject: Fix docker build by using the build-arg BRANCH Change-Id: If4f33edf764ba965cbefd9ce94528e78e69e345b Signed-off-by: Fatih Degirmenci --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker') 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 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} -- cgit 1.2.3-korg