From 071fcf6ea217a2926173c58e874f717a07b0580a Mon Sep 17 00:00:00 2001 From: blakeblackshear Date: Sat, 9 Feb 2019 07:23:18 -0600 Subject: [PATCH] update opencv --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c027df353..5fe568cc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,17 +61,17 @@ RUN cd /usr/local/src/ \ RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension # Download & build OpenCV -RUN wget -q -P /usr/local/src/ --no-check-certificate https://github.com/opencv/opencv/archive/3.4.1.zip +RUN wget -q -P /usr/local/src/ --no-check-certificate https://github.com/opencv/opencv/archive/4.0.1.zip RUN cd /usr/local/src/ \ - && unzip 3.4.1.zip \ - && rm 3.4.1.zip \ - && cd /usr/local/src/opencv-3.4.1/ \ + && unzip 4.0.1.zip \ + && rm 4.0.1.zip \ + && cd /usr/local/src/opencv-4.0.1/ \ && mkdir build \ - && cd /usr/local/src/opencv-3.4.1/build \ + && cd /usr/local/src/opencv-4.0.1/build \ && cmake -D CMAKE_INSTALL_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local/ .. \ && make -j4 \ && make install \ - && rm -rf /usr/local/src/opencv-3.4.1 + && rm -rf /usr/local/src/opencv-4.0.1 # Minimize image size RUN (apt-get autoremove -y; \