summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2016-12-15 18:25:34 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2016-12-15 18:25:34 +0800
commite99232301f35c436340598d126e2a1e62a3f4757 (patch)
tree08e109991c179efa80d2908ab1a0a6bfea4c88e8 /docker/Dockerfile
parent986cf24cb4287ab53741602e93dba97eb32d50a3 (diff)
bugfix:enabling the repo branch choosing
JIRA: BOTTLENECK-108 Enabling the git repo branch choosing in dockerfile for Bottlenecks. Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 03af056b..a358cfb7 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -45,7 +45,7 @@ RUN apt-get -y autoremove && \
RUN mkdir -p ${REPOS_DIR}
RUN git config --global http.sslVerify false
-RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
+RUN git -b $BRANCH clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
RUN easy_install pytz