Skip to content

Commit

Permalink
Dockerfile: Specify branch (#284)
Browse files Browse the repository at this point in the history
(cherry picked from commit c484291)
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Apr 24, 2024
1 parent 492ed64 commit 3560c64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ RUN curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o

RUN mkdir -p /home/ros2_ws/src \
&& cd /home/ros2_ws/src \
&& git clone https://github.com/ros-controls/gz_ros2_control/ \
&& if [ "${ROS_DISTRO}" = "rolling" ] ; then \
git clone https://github.com/ros-controls/gz_ros2_control/; \
else \
git clone https://github.com/ros-controls/gz_ros2_control/ -b ${ROS_DISTRO}; \
fi \
&& rosdep init && rosdep update \
&& rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}

Expand Down

0 comments on commit 3560c64

Please sign in to comment.