Fix build-args error in dockerfile 37/26137/1
authorJulien <zhang.jun3g@zte.com.cn>
Sat, 17 Dec 2016 13:47:13 +0000 (21:47 +0800)
committerJulien <zhang.jun3g@zte.com.cn>
Sat, 17 Dec 2016 13:47:13 +0000 (21:47 +0800)
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>
docker/Dockerfile

index f10d95e..8703858 100644 (file)
@@ -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 \