forked from strawlab/python-pcl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile2
30 lines (22 loc) · 850 Bytes
/
Dockerfile2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# docker build -t ubuntu1804py36
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y software-properties-common vim && \
add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update -y
RUN apt-get install cmake -y && \
apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && \
apt-get install -y git && \
apt-get install openni2-utils -y && \
apt-get install libpcl-dev -y
# fork module
RUN git clone -b rc_patches4 https://github.com/Sirokujira/python-pcl.git
# main
# RUN git clone -b master https://github.com/strawlab/python-pcl.git
WORKDIR /python-pcl
# update pip
RUN python3.6 -m pip install pip --upgrade && \
python3.6 -m pip install wheel
RUN pip install -r requirements.txt && \
python3.6 setup.py build_ext -i && \
python3.6 setup.py install