Added Docker file for xenial

This commit is contained in:
matlabbe
2017-03-16 16:24:25 -04:00
parent 69d174309d
commit ad3aa30471
2 changed files with 40 additions and 0 deletions

21
docker/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
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
WORKDIR /root/rtabmap
RUN cd build && \
cmake .. && \
make -j$(nproc)