-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathDockerfile
29 lines (23 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ros:noetic
RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get install -y --no-install-recommends \
wget nano build-essential libomp-dev clang lld git\
ros-noetic-geodesy ros-noetic-pcl-ros ros-noetic-nmea-msgs \
ros-noetic-rviz ros-noetic-tf-conversions ros-noetic-libg2o \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root/catkin_ws/src
WORKDIR /root/catkin_ws/src
RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_init_workspace'
RUN git clone https://github.com/koide3/ndt_omp.git
RUN git clone https://github.com/SMRT-AIST/fast_gicp.git --recursive
RUN git clone https://github.com/koide3/hdl_graph_slam.git
WORKDIR /
RUN wget http://www.aisl.cs.tut.ac.jp/databases/hdl_graph_slam/hdl_400.bag.tar.gz &&\
tar -zxvf hdl_400.bag.tar.gz
WORKDIR /root/catkin_ws
RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_make'
RUN sed -i "6i source \"/root/catkin_ws/devel/setup.bash\"" /ros_entrypoint.sh
WORKDIR /
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]