File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.5
1
+ FROM python:3.6
2
2
MAINTAINER Josip Janzic <josip.janzic@gmail.com>
3
3
4
4
RUN apt-get update && \
@@ -23,10 +23,10 @@ RUN apt-get update && \
23
23
RUN pip install numpy
24
24
25
25
WORKDIR /
26
- RUN wget https://github.com/Itseez/opencv/archive/3.1 .0.zip \
27
- && unzip 3.1 .0.zip \
28
- && mkdir /opencv-3.1 .0/cmake_binary \
29
- && cd /opencv-3.1 .0/cmake_binary \
26
+ RUN wget https://github.com/Itseez/opencv/archive/3.2 .0.zip \
27
+ && unzip 3.2 .0.zip \
28
+ && mkdir /opencv-3.2 .0/cmake_binary \
29
+ && cd /opencv-3.2 .0/cmake_binary \
30
30
&& cmake -DBUILD_TIFF=ON \
31
31
-DBUILD_opencv_java=OFF \
32
32
-DWITH_CUDA=OFF \
@@ -40,12 +40,12 @@ RUN wget https://github.com/Itseez/opencv/archive/3.1.0.zip \
40
40
-DBUILD_TESTS=OFF \
41
41
-DBUILD_PERF_TESTS=OFF \
42
42
-DCMAKE_BUILD_TYPE=RELEASE \
43
- -DCMAKE_INSTALL_PREFIX=$(python3.5 -c "import sys; print(sys.prefix)" ) \
44
- -DPYTHON_EXECUTABLE=$(which python3.5 ) \
45
- -DPYTHON_INCLUDE_DIR=$(python3.5 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())" ) \
46
- -DPYTHON_PACKAGES_PATH=$(python3.5 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" ) .. \
43
+ -DCMAKE_INSTALL_PREFIX=$(python3.6 -c "import sys; print(sys.prefix)" ) \
44
+ -DPYTHON_EXECUTABLE=$(which python3.6 ) \
45
+ -DPYTHON_INCLUDE_DIR=$(python3.6 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())" ) \
46
+ -DPYTHON_PACKAGES_PATH=$(python3.6 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" ) .. \
47
47
&& make install \
48
- && rm /3.1 .0.zip \
49
- && rm -r /opencv-3.1 .0
48
+ && rm /3.2 .0.zip \
49
+ && rm -r /opencv-3.2 .0
50
50
51
51
RUN pip install flake8 pep8 --upgrade
You can’t perform that action at this time.
0 commit comments