-
Notifications
You must be signed in to change notification settings - Fork 159
/
Dockerfile
28 lines (24 loc) · 1.11 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
FROM ros:noetic-ros-base
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN apt-get install -y ros-noetic-image-geometry ros-noetic-pcl-ros \
ros-noetic-cv-bridge git cmake build-essential unzip pkg-config autoconf \
libboost-all-dev \
libjpeg-dev libpng-dev libtiff-dev \
# Use libvtk5-dev, libgtk2.0-dev in ubuntu 16.04 \
libvtk7-dev libgtk-3-dev \
libatlas-base-dev gfortran \
libparmetis-dev \
python3-wstool python3-catkin-tools \
# libtbb recommended for speed: \
libtbb-dev
RUN mkdir -p /catkin_ws/src/
RUN git clone https://github.com/MIT-SPARK/Kimera-VIO-ROS.git /catkin_ws/src/Kimera-VIO-ROS
RUN cd /catkin_ws/src/Kimera-VIO-ROS
# && git checkout ___
RUN cd /catkin_ws/src/ && wstool init && \
wstool merge Kimera-VIO-ROS/install/kimera_vio_ros_https.rosinstall && wstool update
# Build catkin workspace
RUN apt-get install -y ros-noetic-image-pipeline ros-noetic-geometry ros-noetic-rviz
RUN . /opt/ros/noetic/setup.sh && cd /catkin_ws && \
catkin init && catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
catkin build