Docker: added zesty

This commit is contained in:
matlabbe
2017-06-29 14:32:12 -04:00
parent 5f5c74f260
commit 44969a7fdf
2 changed files with 36 additions and 3 deletions

33
docker/zesty/Dockerfile Normal file
View File

@@ -0,0 +1,33 @@
# Image: introlab3it/rtabmap:zesty
FROM ubuntu:17.04
# Install build dependencies
RUN apt-get update && apt-get install -y \
libsqlite3-dev \
libpcl-dev \
libopencv-dev \
git \
cmake \
libproj-dev \
libqt5svg5-dev \
software-properties-common
# Issue: http://www.pcl-users.org/Build-failure-on-Ubuntu-17-04-td4044552.html
RUN sed -i 's|/usr/lib/libmpi.so;||g' /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake
# Clone source code
WORKDIR /root/
RUN git clone https://github.com/introlab/rtabmap.git
# Build RTAB-Map project
RUN cd rtabmap/build && \
cmake .. && \
make -j$(nproc) && \
make install && \
cd ../.. && \
rm -rf rtabmap && \
ldconfig
WORKDIR /root