diff options
author | Rex Lee <limingjiang@huawei.com> | 2016-12-01 01:28:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-01 01:28:56 +0000 |
commit | a2db76f27e4daac2c967f37d8c6b82ac3c161aa0 (patch) | |
tree | ff48a152bcb689da65bbb1e0503129484f3e4d01 /docker/Dockerfile | |
parent | d5d966e651704aed13f44e261cfd4289b5e9bda7 (diff) | |
parent | 18a0000d1490177282da98c5e36a566738310c95 (diff) |
Merge "Clone the corresponding branch of the repo according to the job branch" into stable/colorado
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 2c3365952..cf9fca0c7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -54,8 +54,8 @@ 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/yardstick ${YARDSTICK_REPO_DIR} -RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR} +RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR} +RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR} # install yardstick + dependencies RUN cd ${YARDSTICK_REPO_DIR} && easy_install -U pip |