docker/focal: re-enabling opencv for arm64 (CI time limit issue)

This commit is contained in:
matlabbe
2023-05-09 09:05:49 -07:00
parent 95f65e1599
commit 376c82325e
+2 -2
View File
@@ -159,7 +159,7 @@ RUN git clone https://github.com/laurentkneip/opengv.git && \
cd && \
rm -r opengv
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone --branch 4.2.0 https://github.com/opencv/opencv.git && \
RUN git clone --branch 4.2.0 https://github.com/opencv/opencv.git && \
git clone --branch 4.2.0 https://github.com/opencv/opencv_contrib.git && \
cd opencv && \
mkdir build && \
@@ -168,7 +168,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone --branch 4.2.0 http
make -j$(nproc) && \
make install && \
cd ../.. && \
rm -rf opencv opencv_contrib; fi
rm -rf opencv opencv_contrib
# Will be used to read/store databases on host
RUN mkdir -p /root/Documents/RTAB-Map