From a45626f01e5e85ea9218de63f3e9dd449d2306a8 Mon Sep 17 00:00:00 2001 From: Danryanh7 Date: Thu, 13 Jun 2024 16:43:57 +0000 Subject: [PATCH] fixing docker staging issue --- .../lidar_object_detection/lidar_object_detection.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/perception/lidar_object_detection/lidar_object_detection.Dockerfile b/docker/perception/lidar_object_detection/lidar_object_detection.Dockerfile index 9964ea85..e231e2ac 100644 --- a/docker/perception/lidar_object_detection/lidar_object_detection.Dockerfile +++ b/docker/perception/lidar_object_detection/lidar_object_detection.Dockerfile @@ -69,11 +69,12 @@ RUN apt-get -qq autoremove -y && apt-get -qq autoclean && apt-get -qq clean && \ rm -rf /root/* /root/.ros /tmp/* /var/lib/apt/lists/* /usr/share/doc/* ################################ Build ####################################### FROM dependencies as build -WORKDIR /home/bolty/OpenPCDet/ +COPY --from=source /home/bolty/OpenPCDet /home/bolty/OpenPCDet +WORKDIR /home/bolty/OpenPCDet RUN pip3 install -r requirements.txt RUN pip3 install kornia==0.6.8 RUN pip3 install nuscenes-devkit==1.0.5 -WORKDIR /home/bolty/OpenPCDet/ +WORKDIR /home/bolty/OpenPCDet RUN python3 setup.py develop # Build ROS2 packages WORKDIR ${AMENT_WS}