File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing libfreenect2
4949 mkdir build && \
5050 cd build && \
5151 cmake .. && \
52- make -j4 && \
52+ make -j2 && \
5353 make install && \
5454 cd && \
5555 rm -r libfreenect2; fi
@@ -63,7 +63,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing zed-open-cap
6363 mkdir build && \
6464 cd build && \
6565 cmake .. && \
66- make -j4 && \
66+ make -j2 && \
6767 make install && \
6868 cd && \
6969 rm -r zed-open-capture; fi
@@ -74,7 +74,7 @@ RUN git clone --branch 4.5.4 https://github.com/opencv/opencv.git && \
7474 mkdir build && \
7575 cd build && \
7676 cmake -DWITH_TBB=ON -DWITH_OPENMP=ON -DBUILD_opencv_python3=OFF -DBUILD_opencv_python_bindings_generator=OFF -DBUILD_opencv_python_tests=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DOPENCV_ENABLE_NONFREE=ON -DOPENCV_EXTRA_MODULES_PATH=/root/opencv_contrib/modules .. && \
77- make -j4 && \
77+ make -j2 && \
7878 make install && \
7979 cd ../.. && \
8080 rm -rf opencv opencv_contrib
@@ -90,7 +90,7 @@ RUN git clone https://github.com/laurentkneip/opengv.git && \
9090 mkdir build && \
9191 cd build && \
9292 cmake -DCMAKE_BUILD_TYPE=Release .. && \
93- make -j4 && \
93+ make -j2 && \
9494 make install && \
9595 cd && \
9696 rm -r opengv
You can’t perform that action at this time.
0 commit comments