From 1f79ff03bc1cb6868b7ee71594fea763729b17ba Mon Sep 17 00:00:00 2001 From: yinfan98 <32722923+yinfan98@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:49:23 +0800 Subject: [PATCH] Update Dockerfile --- docker/Jetson/Jetpack4.6/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docker/Jetson/Jetpack4.6/Dockerfile b/docker/Jetson/Jetpack4.6/Dockerfile index 15b746f277..1a322f6646 100644 --- a/docker/Jetson/Jetpack4.6/Dockerfile +++ b/docker/Jetson/Jetpack4.6/Dockerfile @@ -17,10 +17,9 @@ WORKDIR /root/workspace # install dependencies RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 42D5A192B819C5DA &&\ apt-get update &&\ - apt-get install -y vim wget libspdlog-dev libssl-dev libpng-dev pkg-config libhdf5-100 libhdf5-dev --no-install-recommends - -RUN python3 -m pip install --upgrade pip &&\ - python3 -m pip install onnx==1.10 versioned-hdf5 + apt-get install -y vim wget libspdlog-dev libssl-dev libpng-dev pkg-config libhdf5-100 libhdf5-dev --no-install-recommends &&\ + python3 -m pip install --upgrade pip &&\ + python3 -m pip install onnx==1.10 versioned-hdf5 # install onnxruntime RUN wget https://nvidia.box.com/shared/static/jy7nqva7l88mq9i8bw3g3sklzf4kcnn2.whl -O onnxruntime_gpu-1.10.0-cp36-cp36m-linux_aarch64.whl &&\ @@ -47,8 +46,7 @@ RUN cd mmdeploy &&\ cmake .. \ -DMMDEPLOY_TARGET_BACKENDS="trt" \ -DTENSORRT_DIR=TENSORRT_DIR &&\ - make -j$(nproc) && make install -RUN cd mmdeploy &&\ + make -j$(nproc) && make install && cd .. &&\ python3 -m pip install --upgrade setuptools &&\ python3 -m pip install -e .