mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
init (#1467)
This commit is contained in:
parent
e6b0b8c00a
commit
e52d7c42ca
@ -76,9 +76,9 @@ ENV PATH="/root/workspace/ncnn/build/tools/quantize/:${PATH}"
|
|||||||
### install mmdeploy
|
### install mmdeploy
|
||||||
WORKDIR /root/workspace
|
WORKDIR /root/workspace
|
||||||
ARG VERSION
|
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 &&\
|
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 &&\
|
git submodule update --init --recursive &&\
|
||||||
rm -rf build &&\
|
rm -rf build &&\
|
||||||
mkdir build &&\
|
mkdir build &&\
|
||||||
|
@ -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 ONNXRUNTIME_DIR=/root/workspace/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION}
|
||||||
ENV TENSORRT_DIR=/workspace/tensorrt
|
ENV TENSORRT_DIR=/workspace/tensorrt
|
||||||
ARG VERSION
|
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 &&\
|
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 &&\
|
git submodule update --init --recursive &&\
|
||||||
mkdir -p build &&\
|
mkdir -p build &&\
|
||||||
cd build &&\
|
cd build &&\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user