summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2016-12-01 00:15:00 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2016-12-01 00:15:00 +0800
commite78407bcfa9f4806f2d2605136b4cd84725510f5 (patch)
tree946186c4cb33508f3c1e6aea2bc2ae91c52428ec /docker
parentafea25c89a2d1ae1b1c7ca6641652c0adc0dba02 (diff)
Add new CI docker build support
JIRA: BOTTLENECK-108 Releng has updated the parameter input method. So the Docker file need BRANCH argument to specify the docker image source. Change-Id: I6c8eee3aaf7729964f0b810c209ccdcf9b75a233 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f5ac0e86..6288cf85 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -15,6 +15,9 @@ LABEL image=opnfv/bottlenecks
# GIT repo directory
ENV REPOS_DIR /home/opnfv
+# CI docker image label
+ARG BRANCH=master
+
# Bottlenecks repo
ENV BOTTLENECKS_REPO_DIR ${REPOS_DIR}/bottlenecks
ENV RELENG_REPO_DIR ${REPOS_DIR}/releng