From 348797cc85057560d18f9b15aa1ccdcd69979143 Mon Sep 17 00:00:00 2001 From: CihatAltiparmak Date: Sun, 5 Jan 2025 16:38:21 +0300 Subject: [PATCH] Remove installing upstream packages from source except rolling Signed-off-by: CihatAltiparmak --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9fbaf5..2e288d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,9 @@ RUN if [ "${ROS_DISTRO}" = "rolling" ]; then \ 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 && \ - vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \ + git clone https://github.com/ros-planning/navigation2.git --branch ${ROS_DISTRO} ./src/navigation2; \ else \ - git clone https://github.com/ros-planning/navigation2.git --branch ${VERSION_TAG} ./src/navigation2 && \ - vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \ + git clone https://github.com/ros-planning/navigation2.git --branch ${VERSION_TAG} ./src/navigation2; \ fi RUN rm /etc/ros/rosdep/sources.list.d/20-default.list && rosdep init