From e5a5e337b8e0b03d69f7da4cf9299b4814e1c7ad Mon Sep 17 00:00:00 2001 From: Julien Date: Sun, 5 Mar 2017 13:35:21 +0800 Subject: Add BRANCH parameter used in Dockerfile Change-Id: I09e58d367ee322bb29d5e502d2ba75811ef7e9c3 Signed-off-by: Julien --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/Dockerfile') 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 \ -- cgit 1.2.3-korg