Skip to content

Commit

Permalink
[dockerfiles] Disabled dnn and gapi in opencv to fix build issue in b…
Browse files Browse the repository at this point in the history
…ase files
  • Loading branch information
RaguzovaTatyana committed Feb 26, 2024
1 parent a822e3e commit 7954be5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/rhel8/common/base.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ RUN . "${INTEL_OPENVINO_DIR}"/setupvars.sh; \
-D BUILD_opencv_world=OFF \
-D BUILD_opencv_python2=OFF \
-D BUILD_opencv_python3=ON \
-D BUILD_opencv_dnn=OFF \
-D BUILD_opencv_gapi=OFF \
-D PYTHON3_PACKAGES_PATH=install/python/python3 \
-D PYTHON3_LIMITED_API=ON \
-D HIGHGUI_PLUGIN_LIST=all \
Expand Down
2 changes: 2 additions & 0 deletions templates/ubuntu20/common/base.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ RUN . "${INTEL_OPENVINO_DIR}"/setupvars.sh; \
-D BUILD_opencv_world=OFF \
-D BUILD_opencv_python2=OFF \
-D BUILD_opencv_python3=ON \
-D BUILD_opencv_dnn=OFF \
-D BUILD_opencv_gapi=OFF \
-D PYTHON3_PACKAGES_PATH=install/python/python3 \
-D PYTHON3_LIMITED_API=ON \
-D HIGHGUI_PLUGIN_LIST=all \
Expand Down
2 changes: 2 additions & 0 deletions templates/ubuntu22/common/base.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ RUN . "${INTEL_OPENVINO_DIR}"/setupvars.sh; \
-D BUILD_opencv_world=OFF \
-D BUILD_opencv_python2=OFF \
-D BUILD_opencv_python3=ON \
-D BUILD_opencv_dnn=OFF \
-D BUILD_opencv_gapi=OFF \
-D PYTHON3_PACKAGES_PATH=install/python/python3 \
-D PYTHON3_LIMITED_API=ON \
-D HIGHGUI_PLUGIN_LIST=all \
Expand Down

0 comments on commit 7954be5

Please sign in to comment.