forked from Kitware/kwiver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerfile
42 lines (37 loc) · 1.11 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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Install KWIVER to /opt/kitware/kwiver
# Use latest Fletch as base image (Ubuntu 18.04)
FROM kitware/fletch:latest-ubuntu16.04-py2-cuda8.0-cudnn5-devel
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-dev \
python3-pip
#
# Build KWIVER
#
COPY . /kwiver
RUN cd /kwiver \
&& mkdir build \
&& cd build \
&& cmake ../ -DCMAKE_BUILD_TYPE=Release \
-Dfletch_DIR:PATH=/opt/kitware/fletch/share/cmake \
-DKWIVER_ENABLE_ARROWS=ON \
-DKWIVER_ENABLE_C_BINDINGS=ON \
-DKWIVER_ENABLE_CERES=ON \
-DKWIVER_ENABLE_EXTRAS=ON \
-DKWIVER_ENABLE_LOG4CPLUS=ON \
-DKWIVER_ENABLE_OPENCV=ON \
-DKWIVER_ENABLE_FFMPEG=ON \
-DKWIVER_ENABLE_PROCESSES=ON \
-DKWIVER_ENABLE_PROJ=ON \
-DKWIVER_ENABLE_PYTHON=ON \
-DKWIVER_ENABLE_SPROKIT=ON \
-DKWIVER_ENABLE_TESTS=ON \
-DKWIVER_ENABLE_TOOLS=ON \
-DKWIVER_ENABLE_VXL=ON \
-DKWIVER_ENABLE_DOCS=ON \
-DKWIVER_INSTALL_DOCS=ON \
-DKWIVER_PYTHON_MAJOR_VERSION=3 \
-DKWIVER_USE_BUILD_TREE=ON \
&& make -j$(nproc) -k \
&& make install
CMD [ "bash" ]