Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build python-pcl
# Based on
ARG CUDA="10.0"
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 \
&& cd python-pcl \
&& python3 build_ext -i \
&& python3 install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment