From e52d7c42ca333f69198ede2ee82ca08d7e7df10a Mon Sep 17 00:00:00 2001 From: AllentDan <41138331+AllentDan@users.noreply.github.com> Date: Wed, 30 Nov 2022 14:04:35 +0800 Subject: [PATCH] init (#1467) --- docker/CPU/Dockerfile | 4 ++-- docker/GPU/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/CPU/Dockerfile b/docker/CPU/Dockerfile index 8fcc71e33..02be00570 100644 --- a/docker/CPU/Dockerfile +++ b/docker/CPU/Dockerfile @@ -76,9 +76,9 @@ ENV PATH="/root/workspace/ncnn/build/tools/quantize/:${PATH}" ### install mmdeploy WORKDIR /root/workspace ARG VERSION -RUN git clone https://github.com/open-mmlab/mmdeploy.git &&\ +RUN git clone -b dev-1.x https://github.com/open-mmlab/mmdeploy.git &&\ cd mmdeploy &&\ - if [ -z ${VERSION} ] ; then git checkout -b dev-1.x ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\ + if [ -z ${VERSION} ] ; then echo "No MMDeploy version passed in, building on dev-1.x" ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\ git submodule update --init --recursive &&\ rm -rf build &&\ mkdir build &&\ diff --git a/docker/GPU/Dockerfile b/docker/GPU/Dockerfile index 4176dbe28..a8d2509b4 100644 --- a/docker/GPU/Dockerfile +++ b/docker/GPU/Dockerfile @@ -57,9 +57,9 @@ RUN cp -r /usr/local/lib/python${PYTHON_VERSION}/dist-packages/tensorrt* /opt/co ENV ONNXRUNTIME_DIR=/root/workspace/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION} ENV TENSORRT_DIR=/workspace/tensorrt ARG VERSION -RUN git clone https://github.com/open-mmlab/mmdeploy &&\ +RUN git clone -b dev-1.x https://github.com/open-mmlab/mmdeploy &&\ cd mmdeploy &&\ - if [ -z ${VERSION} ] ; then git checkout -b dev-1.x ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\ + if [ -z ${VERSION} ] ; then echo "No MMDeploy version passed in, building on dev-1.x" ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\ git submodule update --init --recursive &&\ mkdir -p build &&\ cd build &&\