summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2017-08-04 11:15:01 +0800
committerYang Yu <Gabriel.yuyang@huawei.com>2017-08-04 11:15:01 +0800
commit6fc8b3930b871cf78e56df98ef15df320efde4af (patch)
treecdd5684ddc2bf37da212eae0e73e531a6732e6c5
parent84bc638b92487b9921007cfdcf9d6ced7cb1c334 (diff)
change Dockerfile to adapt Branches
Reverse dockerfile Change-Id: I827209833ae4e34e20afba522557c83f4acaaf45 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 26383005..69e1d65b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -46,7 +46,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 clone -b $BRANCH 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