Skip to content

Commit

Permalink
Clone the upstream repositories of navigation2 repo (#7)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
CihatAltiparmak authored Jan 6, 2025
1 parent 9ed8928 commit 6f1d318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6f1d318

Please sign in to comment.