Skip to content

Commit d8837d9

Browse files
committed
Merge branch 'master' into opencv_contrib
2 parents 9f52572 + 9402486 commit d8837d9

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM python:3.7
22
MAINTAINER Josip Janzic <josip@jjanzic.com>
33

4-
RUN apt-get update && \
5-
apt-get install -y \
4+
RUN apt-get update \
5+
&& apt-get install -y \
66
build-essential \
77
cmake \
88
git \
@@ -17,7 +17,8 @@ RUN apt-get update && \
1717
libpng-dev \
1818
libtiff-dev \
1919
libavformat-dev \
20-
libpq-dev
20+
libpq-dev \
21+
&& rm -rf /var/lib/apt/lists/*
2122

2223
RUN pip install numpy
2324

@@ -51,3 +52,6 @@ RUN wget https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip \
5152
&& make install \
5253
&& rm /${OPENCV_VERSION}.zip \
5354
&& 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

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Docker Automated buil](https://img.shields.io/docker/automated/jjanzic/docker-python3-opencv.svg)]()
22

3-
Docker image with python 3.7 and opencv 4.0.1
3+
Docker image with python 3.7 and opencv 4.1.0
44

55
Usage:
66

@@ -11,10 +11,14 @@ Image tagged with `:contrib` contains docker image built with [contrib modules](
1111

1212
List of available docker tags:
1313

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`
1618
- `opencv-4.0.0`
1719
- `contrib-opencv-4.0.0`
20+
- `opencv-3.4.2`
21+
- `contrib-opencv-3.4.2`
1822
- `opencv-3.4.1`
1923
- `contrib-opencv-3.4.1`
2024
- `opencv-3.4.0`

0 commit comments

Comments
 (0)