forked from changh95/fastcampus_slam_codes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile_fast_gicp
26 lines (19 loc) · 868 Bytes
/
Dockerfile_fast_gicp
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
FROM ros:noetic
RUN apt-get update && apt-get install --no-install-recommends -y \
&& apt-get install --no-install-recommends -y wget nano build-essential \
git libgtest-dev ros-noetic-pcl-ros vim \
&& 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/SMRT-AIST/fast_gicp.git
WORKDIR /root/catkin_ws/src/fast_gicp
RUN git submodule init && git submodule update
WORKDIR /root/catkin_ws
RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_make -DBUILD_test=ON'
RUN sed -i "6i source \"/root/catkin_ws/devel/setup.bash\"" /ros_entrypoint.sh
RUN /root/catkin_ws/devel/lib/fast_gicp/gicp_test /root/catkin_ws/src/fast_gicp/data
WORKDIR /
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]