diff options
author | yuyang <Gabriel.yuyang@huawei.com> | 2016-12-01 00:15:00 +0800 |
---|---|---|
committer | yuyang <Gabriel.yuyang@huawei.com> | 2016-12-01 00:15:00 +0800 |
commit | e78407bcfa9f4806f2d2605136b4cd84725510f5 (patch) | |
tree | 946186c4cb33508f3c1e6aea2bc2ae91c52428ec | |
parent | afea25c89a2d1ae1b1c7ca6641652c0adc0dba02 (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>
-rw-r--r-- | docker/Dockerfile | 3 |
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 |