Don't build OpenCV tests in webcam docker image (#24326)

Building opencv tests and apps are [on by default](https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html#tutorial_config_reference_general_tests),
but we don't need them.
old-commit-hash: 2d77a31cd5
taco
Cameron Clough 3 years ago committed by GitHub
parent 35e073a22e
commit 38e14ed47b
  1. 3
      tools/webcam/Dockerfile

@ -32,7 +32,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
mv opencv-${OPENCV_VERSION} OpenCV && \
cd OpenCV && mkdir build && cd build && \
cmake -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON \
-DWITH_XINE=ON -DENABLE_PRECOMPILED_HEADERS=OFF .. && \
-DWITH_XINE=ON -DENABLE_PRECOMPILED_HEADERS=OFF -DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_apps=OFF .. && \
make -j8 && \
make install && \
ldconfig && \

Loading…
Cancel
Save