From ad88549ec7fa3449357c37f65820d46258f2eb45 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Fri, 6 Oct 2023 15:27:57 +0200 Subject: [PATCH] docker: update OpenCV base images to 4.8.1 Signed-off-by: deadprogram --- .github/workflows/docker.yml | 64 +++++++++++++++---------------- Dockerfile.opencv | 8 ++-- Dockerfile.opencv-gpu-cuda-10 | 4 +- Dockerfile.opencv-gpu-cuda-11 | 6 +-- Dockerfile.opencv-gpu-cuda-11.2.2 | 6 +-- Dockerfile.opencv-gpu-cuda-12 | 6 +-- Dockerfile.opencv-openvino | 4 +- Dockerfile.opencv-static | 8 ++-- Dockerfile.opencv-ubuntu-18.04 | 6 +-- Dockerfile.opencv-ubuntu-20.04 | 6 +-- Dockerfile.opencv-ubuntu-22.04 | 6 +-- 11 files changed, 62 insertions(+), 62 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 540360e9..4d3983c1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -28,8 +28,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0 + gocv/opencv:4.8.1 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1 tags: | type=sha,format=long type=raw,value=latest @@ -53,9 +53,9 @@ jobs: push: true tags: | gocv/opencv:latest - gocv/opencv:4.8.0 + gocv/opencv:4.8.1 ghcr.io/${{ github.repository_owner }}/opencv:latest - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -78,8 +78,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-static - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-static + gocv/opencv:4.8.1-static + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-static tags: | type=sha,format=long type=raw,value=latest @@ -102,8 +102,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-static - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-static + gocv/opencv:4.8.1-static + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-static labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -124,8 +124,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-gpu-cuda-11 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-gpu-cuda-11 + gocv/opencv:4.8.1-gpu-cuda-11 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-gpu-cuda-11 tags: | type=sha,format=long type=raw,value=latest @@ -148,8 +148,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-gpu-cuda-11 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-gpu-cuda-11 + gocv/opencv:4.8.1-gpu-cuda-11 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-gpu-cuda-11 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -170,8 +170,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-gpu-cuda-11.2.2 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-gpu-cuda-11.2.2 + gocv/opencv:4.8.1-gpu-cuda-11.2.2 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-gpu-cuda-11.2.2 tags: | type=sha,format=long type=raw,value=latest @@ -194,8 +194,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-gpu-cuda-11.2.2 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-gpu-cuda-11.2.2 + gocv/opencv:4.8.1-gpu-cuda-11.2.2 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-gpu-cuda-11.2.2 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -216,8 +216,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-gpu-cuda-12 - ghcr.io/${{ github.repository_owner }}/opemcv:4.8.0-gpu-cuda-12 + gocv/opencv:4.8.1-gpu-cuda-12 + ghcr.io/${{ github.repository_owner }}/opemcv:4.8.1-gpu-cuda-12 tags: | type=sha,format=long type=raw,value=latest @@ -240,8 +240,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-gpu-cuda-12 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-gpu-cuda-12 + gocv/opencv:4.8.1-gpu-cuda-12 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-gpu-cuda-12 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -262,8 +262,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-ubuntu-18.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-18.04 + gocv/opencv:4.8.1-ubuntu-18.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-18.04 tags: | type=sha,format=long type=raw,value=latest @@ -286,8 +286,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-ubuntu-18.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-18.04 + gocv/opencv:4.8.1-ubuntu-18.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-18.04 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -308,8 +308,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-ubuntu-20.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-20.04 + gocv/opencv:4.8.1-ubuntu-20.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-20.04 tags: | type=sha,format=long type=raw,value=latest @@ -332,8 +332,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-ubuntu-20.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-20.04 + gocv/opencv:4.8.1-ubuntu-20.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-20.04 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -354,8 +354,8 @@ jobs: uses: docker/metadata-action@v4 with: images: | - gocv/opencv:4.8.0-ubuntu-22.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-22.04 + gocv/opencv:4.8.1-ubuntu-22.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-22.04 tags: | type=sha,format=long type=raw,value=latest @@ -378,8 +378,8 @@ jobs: context: . push: true tags: | - gocv/opencv:4.8.0-ubuntu-22.04 - ghcr.io/${{ github.repository_owner }}/opencv:4.8.0-ubuntu-22.04 + gocv/opencv:4.8.1-ubuntu-22.04 + ghcr.io/${{ github.repository_owner }}/opencv:4.8.1-ubuntu-22.04 labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max diff --git a/Dockerfile.opencv b/Dockerfile.opencv index ff98b372..bf5c70dc 100644 --- a/Dockerfile.opencv +++ b/Dockerfile.opencv @@ -1,10 +1,10 @@ # OpenCV 4 prebuilt multiarchitecture image # # To build release: -# docker buildx build -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.0 -t ghcr.io/hybridgroup/opencv:latest --platform=linux/arm64,linux/amd64 --push . +# docker buildx build -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.1 -t ghcr.io/hybridgroup/opencv:latest --platform=linux/arm64,linux/amd64 --push . # # To build prerelease: -# docker buildx build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.0-dev --platform=linux/arm64,linux/amd64 --push . +# docker buildx build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.1-dev --platform=linux/arm64,linux/amd64 --push . ################### @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \ FROM --platform=linux/amd64 opencv-base-amd64 AS opencv-build-amd64 -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" @@ -82,7 +82,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ FROM --platform=linux/arm64 opencv-base-arm64 AS opencv-build-arm64 -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-gpu-cuda-10 b/Dockerfile.opencv-gpu-cuda-10 index c4295955..b878569b 100644 --- a/Dockerfile.opencv-gpu-cuda-10 +++ b/Dockerfile.opencv-gpu-cuda-10 @@ -1,5 +1,5 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-gpu-cuda-10 -t ghcr.io/hybridgroup/opencv:4.8.0-gpu-cuda-10 . +# docker build -f Dockerfile.opencv-gpu-cuda-10 -t ghcr.io/hybridgroup/opencv:4.8.1-gpu-cuda-10 . FROM nvidia/cuda:10.2-cudnn8-devel AS opencv-gpu-base LABEL maintainer="hybridgroup" @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION RUN curl -Lo opencv.zip https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip && \ diff --git a/Dockerfile.opencv-gpu-cuda-11 b/Dockerfile.opencv-gpu-cuda-11 index bce5b686..ba035f8b 100644 --- a/Dockerfile.opencv-gpu-cuda-11 +++ b/Dockerfile.opencv-gpu-cuda-11 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-gpu-cuda-11 -t ghcr.io/hybridgroup/opencv:4.8.0-gpu-cuda-11 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-11.2.2 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-gpu-cuda-11 . +# docker build -f Dockerfile.opencv-gpu-cuda-11 -t ghcr.io/hybridgroup/opencv:4.8.1-gpu-cuda-11 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-11.2.2 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-gpu-cuda-11 . FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04 AS opencv-gpu-cuda-11-base LABEL maintainer="hybridgroup" ENV DEBIAN_FRONTEND=noninteractive @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-22-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-gpu-cuda-11.2.2 b/Dockerfile.opencv-gpu-cuda-11.2.2 index 6a100b3a..033d2b6a 100644 --- a/Dockerfile.opencv-gpu-cuda-11.2.2 +++ b/Dockerfile.opencv-gpu-cuda-11.2.2 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-gpu-cuda-11 -t ghcr.io/hybridgroup/opencv:4.8.0-gpu-cuda-11.2.2 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-11.2.2 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-gpu-cuda-11.2.2 . +# docker build -f Dockerfile.opencv-gpu-cuda-11 -t ghcr.io/hybridgroup/opencv:4.8.1-gpu-cuda-11.2.2 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-11.2.2 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-gpu-cuda-11.2.2 . FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 AS opencv-gpu-cuda-11-base LABEL maintainer="hybridgroup" ENV DEBIAN_FRONTEND=noninteractive @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-22-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-gpu-cuda-12 b/Dockerfile.opencv-gpu-cuda-12 index 9431fac8..37a1db19 100644 --- a/Dockerfile.opencv-gpu-cuda-12 +++ b/Dockerfile.opencv-gpu-cuda-12 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-gpu-cuda-12 -t ghcr.io/hybridgroup/opencv:4.8.0-gpu-cuda-12 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-12 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-gpu-cuda-12 . +# docker build -f Dockerfile.opencv-gpu-cuda-12 -t ghcr.io/hybridgroup/opencv:4.8.1-gpu-cuda-12 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-gpu-cuda-12 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-gpu-cuda-12 . FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04 AS opencv-gpu-cuda-12-base LABEL maintainer="hybridgroup" ENV DEBIAN_FRONTEND=noninteractive @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-openvino b/Dockerfile.opencv-openvino index 601861f5..8bfc6441 100644 --- a/Dockerfile.opencv-openvino +++ b/Dockerfile.opencv-openvino @@ -1,5 +1,5 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-openvino -t ghcr.io/hybridgroup/opencv:4.8.0-openvino +# docker build -f Dockerfile.opencv-openvino -t ghcr.io/hybridgroup/opencv:4.8.1-openvino FROM openvino/ubuntu20_dev:2022.1.0 AS opencv-openvino-base LABEL maintainer="hybridgroup" ENV DEBIAN_FRONTEND=noninteractive @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION RUN curl -Lo opencv.zip https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip && \ diff --git a/Dockerfile.opencv-static b/Dockerfile.opencv-static index 0eba1cb8..6197a434 100644 --- a/Dockerfile.opencv-static +++ b/Dockerfile.opencv-static @@ -1,10 +1,10 @@ # OpenCV 4 prebuilt multiarchitecture image # # To build release: -# docker buildx build -f Dockerfile.opencv-static -t ghcr.io/hybridgroup/opencv:4.8.0-static --platform=linux/arm64,linux/amd64 --push . +# docker buildx build -f Dockerfile.opencv-static -t ghcr.io/hybridgroup/opencv:4.8.1-static --platform=linux/arm64,linux/amd64 --push . # # To build prerelease: -# docker buildx build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.0-dev --platform=linux/arm64,linux/amd64 --push . +# docker buildx build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv -t ghcr.io/hybridgroup/opencv:4.8.1-dev --platform=linux/arm64,linux/amd64 --push . ################### @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \ FROM --platform=linux/amd64 opencv-base-amd64 AS opencv-build-amd64 -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" @@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ FROM --platform=linux/arm64 opencv-base-arm64 AS opencv-build-arm64 -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-ubuntu-18.04 b/Dockerfile.opencv-ubuntu-18.04 index 0cf174dd..8c20c735 100644 --- a/Dockerfile.opencv-ubuntu-18.04 +++ b/Dockerfile.opencv-ubuntu-18.04 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-ubuntu-18.04 -t ghcr.io/hybridgroup/opencv:4.8.0-ubuntu-18.04 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-18.04 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-ubuntu-18.04 . +# docker build -f Dockerfile.opencv-ubuntu-18.04 -t ghcr.io/hybridgroup/opencv:4.8.1-ubuntu-18.04 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-18.04 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-ubuntu-18.04 . FROM ubuntu:18.04 AS opencv-base LABEL maintainer="hybridgroup" @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-22-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-ubuntu-20.04 b/Dockerfile.opencv-ubuntu-20.04 index 0e7019c7..8b408d86 100644 --- a/Dockerfile.opencv-ubuntu-20.04 +++ b/Dockerfile.opencv-ubuntu-20.04 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.0-ubuntu-20.04 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-ubuntu-20.04 . +# docker build -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.1-ubuntu-20.04 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-ubuntu-20.04 . FROM ubuntu:20.04 AS opencv-base LABEL maintainer="hybridgroup" @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-22-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip" diff --git a/Dockerfile.opencv-ubuntu-22.04 b/Dockerfile.opencv-ubuntu-22.04 index 42ad9184..adad3976 100644 --- a/Dockerfile.opencv-ubuntu-22.04 +++ b/Dockerfile.opencv-ubuntu-22.04 @@ -1,6 +1,6 @@ # to build this docker image: -# docker build -f Dockerfile.opencv-ubuntu-22.04 -t ghcr.io/hybridgroup/opencv:4.8.0-ubuntu-22.04 . -# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.0-dev-ubuntu-20.04 . +# docker build -f Dockerfile.opencv-ubuntu-22.04 -t ghcr.io/hybridgroup/opencv:4.8.1-ubuntu-22.04 . +# docker build --build-arg OPENCV_VERSION="4.x" --build-arg OPENCV_FILE="https://github.com/opencv/opencv/archive/refs/heads/4.x.zip" --build-arg OPENCV_CONTRIB_FILE="https://github.com/opencv/opencv_contrib/archive/refs/heads/4.x.zip" -f Dockerfile.opencv-ubuntu-20.04 -t ghcr.io/hybridgroup/opencv:4.8.1-dev-ubuntu-20.04 . FROM ubuntu:22.04 AS opencv-base LABEL maintainer="hybridgroup" @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-turbo8-dev libpng-dev libtiff-dev libdc1394-dev nasm && \ rm -rf /var/lib/apt/lists/* -ARG OPENCV_VERSION="4.8.0" +ARG OPENCV_VERSION="4.8.1" ENV OPENCV_VERSION $OPENCV_VERSION ARG OPENCV_FILE="https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip"