For libpointmatcher https://github.com/ethz-asl/libpointmatcher
225
FROM ubuntu:16.04
MAINTAINER Proud Heng <[email protected]>
# To build libpointmatcher using this Docker image:
# docker run -ti -v ~/libpointmatcher-docker/:/libpointmatcher-docker/ -w=/libpointmatcher-docker/ proudh/libpointmatcher-docker
# This will put the libpointmatcher folder in /Libraries/libpointmatcher inside of the docker container, and mount ~/libpointmatcher-docker/ on your local computer to /libpointmatcher-docker/ in your docker container.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
cmake \
cmake-curses-gui \
curl \
freeglut3-dev \
gcc \
git \
libboost-all-dev \
libeigen3-dev \
unzip \
vim \
wget
# install libnabo
RUN mkdir /Libraries/ \
&& cd /Libraries \
&& git clone git://github.com/ethz-asl/libnabo.git \
&& cd libnabo \
&& SRC_DIR=`pwd` \
&& BUILD_DIR=${SRC_DIR}/build \
&& mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} \
&& cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ${SRC_DIR} \
&& make \
&& make install
# build libpointmatcher
WORKDIR /Libraries/
RUN cd /Libraries/ \
&& git clone git://github.com/ethz-asl/libpointmatcher.git \
&& cd libpointmatcher \
&& SRC_DIR=`pwd` \
&& BUILD_DIR=${SRC_DIR}/build \
&& mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} \
&& cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo ${SRC_DIR} \
&& make \
&& make install \
&& utest/utest --path /Libraries/libpointmatcher/examples/data/
VOLUME ["/libpointmatcher-docker/"]
Content type
Image
Digest
Size
493.5 MB
Last updated
about 9 years ago
docker pull proudh/libpointmatcher-docker