Skip to content

Commit 348797c

Browse files
Remove installing upstream packages from source except rolling
Signed-off-by: CihatAltiparmak <[email protected]>
1 parent 28df7d1 commit 348797c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ RUN if [ "${ROS_DISTRO}" = "rolling" ]; then \
1414
git clone https://github.com/ros-planning/navigation2.git --branch main ./src/navigation2 && \
1515
vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \
1616
elif [ "${VERSION_TAG}" = "latest" ]; then \
17-
git clone https://github.com/ros-planning/navigation2.git --branch ${ROS_DISTRO} ./src/navigation2 && \
18-
vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \
17+
git clone https://github.com/ros-planning/navigation2.git --branch ${ROS_DISTRO} ./src/navigation2; \
1918
else \
20-
git clone https://github.com/ros-planning/navigation2.git --branch ${VERSION_TAG} ./src/navigation2 && \
21-
vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \
19+
git clone https://github.com/ros-planning/navigation2.git --branch ${VERSION_TAG} ./src/navigation2; \
2220
fi
2321

2422
RUN rm /etc/ros/rosdep/sources.list.d/20-default.list && rosdep init

0 commit comments

Comments
 (0)