Skip to content

Commit 6f1d318

Browse files
Clone the upstream repositories of navigation2 repo (#7)
* Clone the upstream repositories of navigation2 repo Signed-off-by: CihatAltiparmak <[email protected]> * Remove installing upstream packages from source except rolling Signed-off-by: CihatAltiparmak <[email protected]> --------- Signed-off-by: CihatAltiparmak <[email protected]>
1 parent 9ed8928 commit 6f1d318

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ WORKDIR /root/nav2_ws
1111
RUN mkdir -p ~/nav2_ws/src
1212
ARG VERSION_TAG=latest
1313
RUN if [ "${ROS_DISTRO}" = "rolling" ]; then \
14-
git clone https://github.com/ros-planning/navigation2.git --branch main ./src/navigation2; \
14+
git clone https://github.com/ros-planning/navigation2.git --branch main ./src/navigation2 && \
15+
vcs import ./src/ < ./src/navigation2/tools/underlay.repos; \
1516
elif [ "${VERSION_TAG}" = "latest" ]; then \
1617
git clone https://github.com/ros-planning/navigation2.git --branch ${ROS_DISTRO} ./src/navigation2; \
1718
else \

0 commit comments

Comments
 (0)