change Dockerfile to adapt Branches 33/38733/1
authorYang Yu <Gabriel.yuyang@huawei.com>
Fri, 4 Aug 2017 03:15:01 +0000 (11:15 +0800)
committerYang Yu <Gabriel.yuyang@huawei.com>
Fri, 4 Aug 2017 03:15:01 +0000 (11:15 +0800)
Reverse dockerfile

Change-Id: I827209833ae4e34e20afba522557c83f4acaaf45
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
docker/Dockerfile

index 2638300..69e1d65 100644 (file)
@@ -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