From 6f1d318c0692906e2e35f4f0a87de1be4264aa32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Kurtulu=C5=9F=20Alt=C4=B1parmak?= Date: Mon, 6 Jan 2025 03:02:58 +0000 Subject: [PATCH] Clone the upstream repositories of navigation2 repo (#7) * Clone the upstream repositories of navigation2 repo Signed-off-by: CihatAltiparmak * Remove installing upstream packages from source except rolling Signed-off-by: CihatAltiparmak --------- Signed-off-by: CihatAltiparmak --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \