File tree 2 files changed +14
-6
lines changed 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM python:3.7
2
2
MAINTAINER Josip Janzic <josip@jjanzic.com>
3
3
4
- RUN apt-get update && \
5
- apt-get install -y \
4
+ RUN apt-get update \
5
+ && apt-get install -y \
6
6
build-essential \
7
7
cmake \
8
8
git \
@@ -17,7 +17,8 @@ RUN apt-get update && \
17
17
libpng-dev \
18
18
libtiff-dev \
19
19
libavformat-dev \
20
- libpq-dev
20
+ libpq-dev \
21
+ && rm -rf /var/lib/apt/lists/*
21
22
22
23
RUN pip install numpy
23
24
@@ -51,3 +52,6 @@ RUN wget https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip \
51
52
&& make install \
52
53
&& rm /${OPENCV_VERSION}.zip \
53
54
&& rm -r /opencv-${OPENCV_VERSION}
55
+ RUN ln -s \
56
+ /usr/local/python/cv2/python-3.7/cv2.cpython-37m-x86_64-linux-gnu.so \
57
+ /usr/local/lib/python3.7/site-packages/cv2.so
Original file line number Diff line number Diff line change 1
1
[ ![ Docker Automated buil] ( https://img.shields.io/docker/automated/jjanzic/docker-python3-opencv.svg )] ( )
2
2
3
- Docker image with python 3.7 and opencv 4.0.1
3
+ Docker image with python 3.7 and opencv 4.1.0
4
4
5
5
Usage:
6
6
@@ -11,10 +11,14 @@ Image tagged with `:contrib` contains docker image built with [contrib modules](
11
11
12
12
List of available docker tags:
13
13
14
- - ` opencv-4.0.1 ` (` latest ` branch)
15
- - ` contrib-opencv-4.0.1 ` (` opencv_contrib ` branch)
14
+ - ` opencv-4.1.0 ` (` latest ` branch)
15
+ - ` contrib-opencv-4.1.0 ` (` opencv_contrib ` branch)
16
+ - ` opencv-4.0.1 `
17
+ - ` contrib-opencv-4.0.1 `
16
18
- ` opencv-4.0.0 `
17
19
- ` contrib-opencv-4.0.0 `
20
+ - ` opencv-3.4.2 `
21
+ - ` contrib-opencv-3.4.2 `
18
22
- ` opencv-3.4.1 `
19
23
- ` contrib-opencv-3.4.1 `
20
24
- ` opencv-3.4.0 `
You can’t perform that action at this time.
0 commit comments