FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu14.04
MAINTAINER Proud Heng <[email protected]>
# Assuming that you are starting in ~/docker/nicp-docker on your local computer,
# Run `xhost local:root` outside of the docker container first.
# To build NICP using this Docker image:
# nvidia-docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/docker/nicp-docker/:/nicp-docker/ -w=/nicp-docker/ nicp-docker
# This will put the nicp folder in /home/nicp inside of the docker container
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
cmake \
cmake-curses-gui \
curl \
freeglut3-dev \
gcc \
git \
libeigen3-dev \
libflann-dev \
libopencv-dev \
libqglviewer-dev \
libqt4-dev \
unzip
# build nicp
WORKDIR /nicp-docker/
RUN git clone https://github.com/yorsh87/nicp.git nicp \
&& cd nicp \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make
# set nicp env vars
ENV NICP_ROOT=/nicp/
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NICP_ROOT}/lib
VOLUME ["/nicp-docker/"]
Content type
Image
Digest
Size
1.3 GB
Last updated
about 9 years ago
docker pull proudh/nicp-docker