File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ RUN git clone https://github.com/jayrambhia/Install-OpenCV
99WORKDIR Install-OpenCV/Ubuntu
1010# Modify install scripts...
1111RUN sed -i 's/sudo //g' *.sh
12- RUN sed -i 's/BUILD_NEW_PYTHON_SUPPORT/BUILD_opencv_python2/' opencv_install.sh
12+ RUN sed -i 's/BUILD_NEW_PYTHON_SUPPORT=ON /BUILD_opencv_python2=ON -D PYTHON_INCLUDE_DIR= \/ app \/ .heroku \/ python \/ include \/ python2.7 /' opencv_install.sh
1313RUN sed -i 's/make install/make DESTDIR=$DESTDIR install/' opencv_install.sh
1414# Install
1515RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list
1616RUN apt-get update
17- RUN CMAKE_PREFIX_PATH=/app/.heroku/python ./opencv_latest.sh
17+ RUN ./opencv_latest.sh
You can’t perform that action at this time.
0 commit comments