Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build python-pcl
# Based on https://github.com/alliecc/argoverse_baselinetracker
ARG CUDA="10.0"
ARG CUDNN="7"
FROM nvidia/cuda:${CUDA}-cudnn${CUDNN}-devel
# install basics
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update --fix-missing -y \
&& apt-get install -y apt-utils git curl ca-certificates bzip2 cmake g++ pkg-config \
&& apt-get install --reinstall python3-apt python3-pip -y
# install python-pcl dependencies
RUN apt-get install -y pkg-config build-essential linux-libc-dev libeigen3-dev \
&& apt-get install -y libpcl-dev libvtk6-dev \
&& python3 -m pip install --upgrade pip wheel numpy cython pkgconfig
# Compile our repo
RUN git clone https://github.com/winding-lines/python-pcl \
&& cd python-pcl \
&& python3 setup.py build_ext -i \
&& python3 setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment