File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ ARG CUDA_TAG=9.2-devel
2+ FROM nvidia/cuda:$CUDA_TAG
3+ LABEL maintainer=
"AliceVision Team [email protected] " 4+
5+ # use CUDA_TAG to select the image version to use
6+ # see https://hub.docker.com/r/nvidia/cuda/
7+ #
8+ # For example, to create a ubuntu 16.04 with cuda 8.0 for development, use
9+ # docker build --build-arg CUDA_TAG=8.0-devel --tag popsift .
10+ #
11+ # then execute with nvidia docker (https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0))
12+ # docker run -it --runtime=nvidia popsift
13+
14+
15+ # OS/Version (FILE): cat /etc/issue.net
16+ # Cuda version (ENV): $CUDA_VERSION
17+
18+ # System update
19+ RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends\
20+ build-essential \
21+ cmake \
22+ git \
23+ wget \
24+ unzip \
25+ yasm \
26+ pkg-config \
27+ libtool \
28+ nasm \
29+ automake \
30+ libpng12-dev \
31+ libjpeg-turbo8-dev \
32+ libdevil-dev \
33+ libboost-filesystem-dev \
34+ libboost-system-dev \
35+ libboost-program-options-dev \
36+ libboost-thread-dev \
37+ && rm -rf /var/lib/apt/lists/*
38+
39+ COPY . /opt/popsift
40+ WORKDIR /opt/popsift/build
41+ RUN cmake .. -DCMAKE_BUILD_TYPE=Release && make install -j
You can’t perform that action at this time.
0 commit comments