From: yuyang Date: Thu, 15 Dec 2016 10:25:34 +0000 (+0800) Subject: bugfix:enabling the repo branch choosing X-Git-Tag: danube.1.RC1~38 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e99232301f35c436340598d126e2a1e62a3f4757;p=bottlenecks.git bugfix:enabling the repo branch choosing JIRA: BOTTLENECK-108 Enabling the git repo branch choosing in dockerfile for Bottlenecks. Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd Signed-off-by: yuyang --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 03af056b..a358cfb7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -45,7 +45,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 -b $BRANCH clone 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