diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2017-03-05 13:35:21 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2017-03-05 13:35:21 +0800 |
commit | e5a5e337b8e0b03d69f7da4cf9299b4814e1c7ad (patch) | |
tree | ac8142f28cb7f70a3f71305abe1839749060e48a /docker | |
parent | 74c631c6dae08d463f0d4c3953a1addcb187d090 (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/Dockerfile | 2 |
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 \
|