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: 2d77a31cd57a17e8562ba7a57f741a942d674cf9
This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user