bugfix: correct typo in Dockerfile 07/26207/1
authoryuyang <Gabriel.yuyang@huawei.com>
Mon, 19 Dec 2016 13:52:50 +0000 (21:52 +0800)
committeryuyang <Gabriel.yuyang@huawei.com>
Mon, 19 Dec 2016 13:52:50 +0000 (21:52 +0800)
JIRA: BOTTLENECK-108

Typo in Dockerfile that causing $BRANCH var not effective

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

index a358cfb..7e7793e 100644 (file)
@@ -45,7 +45,7 @@ RUN apt-get -y autoremove && \
 RUN mkdir -p ${REPOS_DIR}
 
 RUN git config --global http.sslVerify false
-RUN git -b $BRANCH 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