summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-11-30 22:34:47 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-11-30 22:35:22 -0500
commit165bfec3592b84399a301e84327d905b616dd0b8 (patch)
tree2a3692a10981e9117455578dfa9d3fe90c70b93a
parent30a2f3f91a04d69368a3591f28874a8da6948e36 (diff)
bugfix: Add BRANCH Argument in the Dockerfile
Change-Id: If5ccbe0633ed5331b38d8231e0dd6eadd05ecbe8 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 449ad70..aa718e3 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -64,8 +64,8 @@ RUN mkdir -p /root/.ssh
RUN chmod 700 /root/.ssh
RUN git config --global http.sslVerify false
-RUN git --depth 1 -b $BRANCH clone https://gerrit.opnfv.org/gerrit/storperf ${repos_dir}/storperf
-RUN git --depth 1 clone https://gerrit.opnfv.org/gerrit/releng ${repos_dir}/releng
+RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/storperf ${repos_dir}/storperf
+RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${repos_dir}/releng
# Third party git fetches
RUN git clone https://github.com/swagger-api/swagger-ui.git ${repos_dir}/swagger-ui