Dockerfile 891 B

1234567891011121314151617181920212223242526
  1. FROM ros:noetic
  2. RUN apt-get update && apt-get install -y --no-install-recommends \
  3. && apt-get install -y --no-install-recommends \
  4. wget nano build-essential libomp-dev clang lld git\
  5. ros-noetic-geodesy ros-noetic-pcl-ros ros-noetic-nmea-msgs \
  6. ros-noetic-rviz ros-noetic-tf-conversions ros-noetic-libg2o \
  7. && apt-get clean \
  8. && rm -rf /var/lib/apt/lists/*
  9. RUN mkdir -p /root/catkin_ws/src
  10. WORKDIR /root/catkin_ws/src
  11. RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_init_workspace'
  12. RUN git clone https://github.com/koide3/ndt_omp.git
  13. RUN git clone https://github.com/SMRT-AIST/fast_gicp.git --recursive
  14. COPY . /root/catkin_ws/src/hdl_graph_slam/
  15. WORKDIR /root/catkin_ws
  16. RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_make'
  17. RUN sed -i "6i source \"/root/catkin_ws/devel/setup.bash\"" /ros_entrypoint.sh
  18. WORKDIR /
  19. ENTRYPOINT ["/ros_entrypoint.sh"]
  20. CMD ["bash"]