Skip to content

Commit

Permalink
Remove installing upstream packages from source except rolling
Browse files Browse the repository at this point in the history
Signed-off-by: CihatAltiparmak <[email protected]>
  • Loading branch information
CihatAltiparmak committed Jan 5, 2025
1 parent fc4f9fb commit 76f57b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76f57b3

Please sign in to comment.