Updated Dockfile for xenial

This commit is contained in:
matlabbe
2017-03-17 21:03:14 -04:00
parent ad3aa30471
commit 5d5d602f1d
2 changed files with 9 additions and 3 deletions

27
docker/xenial/Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
FROM ubuntu:16.04
# Install build dependencies
RUN apt-get update && apt-get install -y \
libsqlite3-dev \
libpcl-dev \
libopencv-dev \
git \
cmake \
libproj-dev \
libqt5svg5-dev
# 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