Skip to content

Commit

Permalink
Dockerfile: Specify branch (#284) (#287)
Browse files Browse the repository at this point in the history
(cherry picked from commit c484291)

Co-authored-by: Christoph Fröhlich <[email protected]>
  • Loading branch information
mergify[bot] and christophfroehlich authored Apr 24, 2024
1 parent 2919829 commit 0c2d0dd
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 0c2d0dd

Please sign in to comment.