Created
October 22, 2021 19:00
-
-
Save cottsay/f1b1532bf8d956a26e18aff23f2226e7 to your computer and use it in GitHub Desktop.
Docker repro for ros-controls/ros2_controllers#248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM almalinux:8 | |
RUN dnf install \ | |
cmake \ | |
'dnf-command(config-manager)' \ | |
emacs \ | |
epel-release \ | |
gcc-c++ \ | |
git \ | |
langpacks-en \ | |
make \ | |
nano \ | |
sudo \ | |
vim \ | |
wget \ | |
-y --refresh | |
RUN dnf config-manager --set-enabled powertools && dnf install \ | |
python3-colcon-common-extensions \ | |
python3-rosdep \ | |
-y --refresh | |
ADD http://packages.ros.org/ros2/rhel/ros2.repo /etc/yum.repos.d/ros2.repo | |
RUN dnf install \ | |
ros-rolling-{ament-cmake{,-gmock},pluginlib,rcutils,{control,sensor}-msgs,{controller,hardware}-interface,rclcpp{,-lifecycle},controller-manager,ros2-control-test-assets} \ | |
-y --refresh | |
RUN rosdep init && rosdep update | |
RUN mkdir /root/ros2_rolling/src -p | |
RUN git clone https://github.com/ros-controls/ros2_controllers.git /root/ros2_rolling/src/ros2_controllers | |
WORKDIR /root/ros2_rolling | |
CMD echo -e "To build, run:\n . /opt/ros/rolling/setup.bash\n colcon build --event-handler console_direct+ --packages-select joint_state_broadcaster" && /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment