summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2016-12-17 21:47:13 +0800
committerJulien <zhang.jun3g@zte.com.cn>2016-12-17 21:47:13 +0800
commit71bf2b8c10a6512d474bc5ba7dc19b86cfd9ac3b (patch)
treeb7fed7503a5ecd6d0e1d8eda3f52f43224799f46
parent3069bb6ec1937cefbcf24af4460b72f0915b22f1 (diff)
Fix build-args error in dockerfile
Issue: "One or more build-args [BRANCH] were not consumed, failing build." refer in: https://build.opnfv.org/ci/view/daisy/job/daisy-docker-build-push-monitor-master/1/console Change-Id: Ib26809b1bd23b9410a869a17157d45c852a89496 Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
-rw-r--r--docker/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f10d95e4..87038585 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,5 +1,6 @@
FROM centos:7
LABEL daisy_image_version=1.0
+ENV BRANCH=$BRANCH
RUN yum -y update
RUN yum -y install centos-release-openstack-newton
RUN yum -y install \