Skip to content

Commit

Permalink
Dockerfile: Specify branch (#284) (#288)
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 c3f2a96 commit 81dca71
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 81dca71

Please sign in to comment.