-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (23 loc) · 1.02 KB
/
Dockerfile
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
FROM tensorflow/tensorflow:1.12.0-gpu-py3
MAINTAINER JHUAPL <[email protected]>
# Install wget
RUN apt install -y --fix-missing --no-install-recommends wget
# Install conda
RUN mkdir ~/Downloads \
&& wget https://repo.anaconda.com/miniconda/Miniconda2-4.5.11-Linux-x86_64.sh -nv -O ~/Downloads/Miniconda2-4.5.11-Linux-x86_64.sh
RUN bash ~/Downloads/Miniconda2-4.5.11-Linux-x86_64.sh -b -p /opt/conda
# Install pdal as a conda environment
RUN /opt/conda/bin/conda create --yes --name cpdal-run --channel conda-forge pdal=1.7
# Compile and install pointnet2 tensorflow utilities
COPY tf_ops /pointnet2/tf_ops
RUN cd /pointnet2/tf_ops/3d_interpolation && \
./tf_interpolate_compile_py3.sh && \
cd /pointnet2/tf_ops/grouping && \
./tf_grouping_compile_py3.sh && \
cd /pointnet2/tf_ops/sampling && \
./tf_sampling_compile_py3.sh
# Set working directory
WORKDIR /pointnet2
# Install laspy, pathlib
RUN apt install -y --fix-missing --no-install-recommends python3-pip
RUN pip3 install laspy numpy