summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2017-03-05 13:35:21 +0800
committerJulien <zhang.jun3g@zte.com.cn>2017-03-05 13:35:21 +0800
commite5a5e337b8e0b03d69f7da4cf9299b4814e1c7ad (patch)
treeac8142f28cb7f70a3f71305abe1839749060e48a /docker
parent74c631c6dae08d463f0d4c3953a1addcb187d090 (diff)
Add BRANCH parameter used in Dockerfile
Change-Id: I09e58d367ee322bb29d5e502d2ba75811ef7e9c3 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 48e254f..fa78819 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,5 +1,7 @@
FROM centos:7
LABEL escalator_image_version=1.0
+ARG BRANCH
+ENV BRANCH=${BRANCH:-master}
RUN yum -y update
RUN yum -y install centos-release-openstack-newton
RUN yum -y install \