Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Commit e123895

Browse files
committed
update settings
1 parent 00fb6b8 commit e123895

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# docker build -t ubuntu1604py36 .
2+
FROM ubuntu:16.04
3+
4+
RUN apt-get update && \
5+
apt-get install -y software-properties-common vim && \
6+
add-apt-repository ppa:jonathonf/python-3.6
7+
8+
RUN apt-get update -y
9+
10+
RUN apt-get install cmake -y && \
11+
apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && \
12+
apt-get install -y git && \
13+
apt-get install openni2-utils -y && \
14+
apt-get install libpcl-dev -y
15+
16+
# fork module
17+
RUN git clone -b rc_patches4 https://github.com/Sirokujira/python-pcl.git
18+
# main
19+
# RUN git clone -b master https://github.com/strawlab/python-pcl.git
20+
21+
WORKDIR /python-pcl
22+
23+
# update pip
24+
RUN python3.6 -m pip install pip --upgrade && \
25+
python3.6 -m pip install wheel
26+
27+
RUN pip install -r requirements.txt && \
28+
python3.6 setup.py build_ext -i && \
29+
python3.6 setup.py install
30+

docker/Dockerfile2

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# docker build -t ubuntu1804py36
2+
FROM ubuntu:18.04
3+
4+
RUN apt-get update && \
5+
apt-get install -y software-properties-common vim && \
6+
add-apt-repository ppa:jonathonf/python-3.6
7+
8+
RUN apt-get update -y
9+
10+
RUN apt-get install cmake -y && \
11+
apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && \
12+
apt-get install -y git && \
13+
apt-get install openni2-utils -y && \
14+
apt-get install libpcl-dev -y
15+
16+
# fork module
17+
RUN git clone -b rc_patches4 https://github.com/Sirokujira/python-pcl.git
18+
# main
19+
# RUN git clone -b master https://github.com/strawlab/python-pcl.git
20+
21+
WORKDIR /python-pcl
22+
23+
# update pip
24+
RUN python3.6 -m pip install pip --upgrade && \
25+
python3.6 -m pip install wheel
26+
27+
RUN pip install -r requirements.txt && \
28+
python3.6 setup.py build_ext -i && \
29+
python3.6 setup.py install
30+

0 commit comments

Comments
 (0)