diff --git a/Dockerfile b/Dockerfile index 749293f..2e288d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ WORKDIR /root/nav2_ws RUN mkdir -p ~/nav2_ws/src ARG VERSION_TAG=latest RUN if [ "${ROS_DISTRO}" = "rolling" ]; then \ - git clone https://github.com/ros-planning/navigation2.git --branch main ./src/navigation2; \ + git clone https://github.com/ros-planning/navigation2.git --branch main ./src/navigation2 && \ + vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \ elif [ "${VERSION_TAG}" = "latest" ]; then \ git clone https://github.com/ros-planning/navigation2.git --branch ${ROS_DISTRO} ./src/navigation2; \ else \