From de78a99b27784ada33b3cb5f3e8eadd603474aa6 Mon Sep 17 00:00:00 2001 From: CihatAltiparmak Date: Mon, 8 Jul 2024 18:21:05 +0300 Subject: [PATCH] Created dockerfile for easier usage --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f60ca5d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM ros:rolling + +RUN apt-get update && \ + apt install wget -y + +RUN mkdir ws/src -p + +RUN . /opt/ros/rolling/setup.sh && \ + cd ws/src && \ + git clone https://github.com/CihatAltiparmak/moveit_middleware_benchmark.git -b development && \ + vcs import < moveit_middleware_benchmark/moveit_middleware_benchmark.repos --recursive + +RUN cd ws/src && \ + # git clone https://github.com/ros2/rmw_zenoh.git && \ + git clone https://github.com/ros2/rmw_cyclonedds.git + +RUN . /opt/ros/rolling/setup.sh && \ + cd ws && \ + rosdep update --rosdistro=$ROS_DISTRO && \ + apt-get update && \ + rosdep install --from-paths src --ignore-src -r -y + +RUN . /opt/ros/rolling/setup.sh && \ + cd ws && \ + colcon build --mixin release --packages-skip test_dynmsg dynmsg_demo \ No newline at end of file