Skip to content

Commit 00c4432

Browse files
committed
feat: upgrade docker distro base images
1 parent 4527405 commit 00c4432

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-alpine
1+
FROM python:3.13-alpine
22

33
ARG OPENCV_VERSION
44

@@ -71,10 +71,10 @@ RUN set -ex \
7171
-D INSTALL_C_EXAMPLES=OFF \
7272
-D INSTALL_TESTS=OFF \
7373
-D PYTHON3_EXECUTABLE=/usr/local/bin/python \
74-
-D PYTHON3_INCLUDE_DIR=/usr/local/include/python3.12/ \
74+
-D PYTHON3_INCLUDE_DIR=/usr/local/include/python3.13/ \
7575
-D PYTHON3_LIBRARY=/usr/local/lib/libpython3.so \
7676
-D PYTHON_LIBRARY=/usr/local/lib/libpython3.so \
77-
-D PYTHON3_PACKAGES_PATH=/usr/local/lib/python3.12/site-packages/ \
77+
-D PYTHON3_PACKAGES_PATH=/usr/local/lib/python3.13/site-packages/ \
7878
/opt/opencv-${OPENCV_VERSION} \
7979
&& make -j$(nproc) \
8080
&& make install \

debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:12.7-slim
1+
FROM debian:12.8-slim
22

33
ARG OPENCV_VERSION
44
ARG DEBIAN_FRONTEND=noninteractive

fedora/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora:40
1+
FROM fedora:41
22

33
ARG OPENCV_VERSION
44

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ $ docker run -it hdgigante/python-opencv python3
2525

2626
| opencv | base image | tag | python | size |
2727
|:---------:|:------:|:-----:|:-----:|:-----:|
28-
| **4.10.0** | [fedora:40](https://hub.docker.com/_/fedora) | `hdgigante/python-opencv` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-fedora?label=%20&logo=docker&logoColor=white&style=flat-square) |
29-
| | [python:3.12-alpine](https://hub.docker.com/_/python) | `hdgigante/python-opencv:4.10.0-alpine` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-alpine?label=%20&logo=docker&logoColor=white&style=flat-square) |
30-
| | [ubuntu:24.04](https://hub.docker.com/_/ubuntu) | `hdgigante/python-opencv:4.10.0-ubuntu` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-ubuntu?label=%20&logo=docker&logoColor=white&style=flat-square) |
31-
| | [debian:12.7-slim](https://hub.docker.com/_/debian) | `hdgigante/python-opencv:4.10.0-debian` | 3.11 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-debian?label=%20&logo=docker&logoColor=white&style=flat-square) |
32-
| **4.9.0** | [fedora:40](https://hub.docker.com/_/fedora) | `hdgigante/python-opencv:4.9.0-fedora` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-fedora?label=%20&logo=docker&logoColor=white&style=flat-square) |
33-
| | [python:3.12-alpine](https://hub.docker.com/_/python) | `hdgigante/python-opencv:4.9.0-alpine` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-alpine?label=%20&logo=docker&logoColor=white&style=flat-square) |
34-
| | [ubuntu:24.04](https://hub.docker.com/_/ubuntu) | `hdgigante/python-opencv:4.9.0-ubuntu` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-ubuntu?label=%20&logo=docker&logoColor=white&style=flat-square) |
35-
| | [debian:12.7-slim](https://hub.docker.com/_/debian) | `hdgigante/python-opencv:4.9.0-debian` | 3.11 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-debian?label=%20&logo=docker&logoColor=white&style=flat-square) |
28+
| **4.10.0** | [fedora:41](https://hub.docker.com/_/fedora) | `hdgigante/python-opencv` | 3.13 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-fedora?label=%20&logo=docker&logoColor=white&style=flat-square) |
29+
| | [python:3.13-alpine](https://hub.docker.com/_/python) | `hdgigante/python-opencv:4.10.0-alpine` | 3.13 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-alpine?label=%20&logo=docker&logoColor=white&style=flat-square) |
30+
| | [ubuntu:24.10](https://hub.docker.com/_/ubuntu) | `hdgigante/python-opencv:4.10.0-ubuntu` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-ubuntu?label=%20&logo=docker&logoColor=white&style=flat-square) |
31+
| | [debian:12.8-slim](https://hub.docker.com/_/debian) | `hdgigante/python-opencv:4.10.0-debian` | 3.11 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.10.0-debian?label=%20&logo=docker&logoColor=white&style=flat-square) |
32+
| **4.9.0** | [fedora:41](https://hub.docker.com/_/fedora) | `hdgigante/python-opencv:4.9.0-fedora` | 3.13 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-fedora?label=%20&logo=docker&logoColor=white&style=flat-square) |
33+
| | [python:3.13-alpine](https://hub.docker.com/_/python) | `hdgigante/python-opencv:4.9.0-alpine` | 3.13 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-alpine?label=%20&logo=docker&logoColor=white&style=flat-square) |
34+
| | [ubuntu:24.10](https://hub.docker.com/_/ubuntu) | `hdgigante/python-opencv:4.9.0-ubuntu` | 3.12 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-ubuntu?label=%20&logo=docker&logoColor=white&style=flat-square) |
35+
| | [debian:12.8-slim](https://hub.docker.com/_/debian) | `hdgigante/python-opencv:4.9.0-debian` | 3.11 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/hdgigante/python-opencv/4.9.0-debian?label=%20&logo=docker&logoColor=white&style=flat-square) |
3636

3737
## Build
3838

ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:24.04
1+
FROM ubuntu:24.10
22

33
ARG OPENCV_VERSION
44
ARG DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)