Skip to content

Commit

Permalink
turning -DBUILDEXAMPLES=OFF for opencv
Browse files Browse the repository at this point in the history
docker build throws an error on my machine without it. fixes floydhub#77
  • Loading branch information
dferrante authored Dec 6, 2017
1 parent e1b5418 commit 59048c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ RUN git clone --depth 1 https://github.com/opencv/opencv.git /root/opencv && \
cd /root/opencv && \
mkdir build && \
cd build && \
cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON .. && \
cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=OFF .. && \
make -j"$(nproc)" && \
make install && \
ldconfig && \
Expand Down

0 comments on commit 59048c9

Please sign in to comment.