diff --git a/deploy/docker/Dockerfile.bridge b/deploy/docker/Dockerfile.bridge index f6fd468..cee6953 100644 --- a/deploy/docker/Dockerfile.bridge +++ b/deploy/docker/Dockerfile.bridge @@ -19,14 +19,14 @@ git clone https://github.com/ros2/rmw_cyclonedds -b humble && git clone https:// cd .. && colcon build --packages-select cyclonedds && source /opt/ros/humble/setup.bash && colcon build # copy the go2py ros2 nodes -COPY ros2_nodes/go2py_bridge /bridge_ws/src -COPY ros2_nodes/go2py_common /bridge_ws/src -RUN cd /bridge_ws && source /opt/ros/humble/setup.bash && colcon build --symlink-install +COPY ros2_nodes/go2py_bridge /bridge_ws/src/go2py_bridge +COPY ros2_nodes/go2py_common /bridge_ws/src/go2py_common +RUN cd /bridge_ws && source /opt/ros/humble/setup.bash && source /unitree_ros2/cyclonedds_ws/install/setup.bash && colcon build --symlink-install # Copy the script to start the nodes COPY docker/scripts /root/scripts COPY launch_files /root/launch # set the entrypoint to bash -# ENTRYPOINT ["/bin/bash"] +#ENTRYPOINT ["/bin/bash"] ENTRYPOINT ["/bin/bash", "/root/scripts/bridge_start.sh"] diff --git a/deploy/docker/Dockerfile.hesai b/deploy/docker/Dockerfile.hesai index 52c450c..a23fb78 100644 --- a/deploy/docker/Dockerfile.hesai +++ b/deploy/docker/Dockerfile.hesai @@ -20,7 +20,7 @@ git clone https://github.com/ros2/rmw_cyclonedds -b humble && git clone https:// cd .. && colcon build --packages-select cyclonedds && source /opt/ros/humble/setup.bash && colcon build # copy the go2py ros2 nodes -COPY ros2_nodes/lidar_node /hesai_ws/src +COPY ros2_nodes/lidar_node /hesai_ws/src/lidar_node RUN cd /hesai_ws && source /opt/ros/humble/setup.bash && colcon build --symlink-install # Copy the script to start the nodes