From: MatthewLi Date: Thu, 1 Dec 2016 03:34:47 +0000 (-0500) Subject: bugfix: Add BRANCH Argument in the Dockerfile X-Git-Tag: danube.1.0~32 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F25295%2F1;p=storperf.git bugfix: Add BRANCH Argument in the Dockerfile Change-Id: If5ccbe0633ed5331b38d8231e0dd6eadd05ecbe8 Signed-off-by: MatthewLi --- 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