From 00a8f7690e450996a6d70be8b4c5060c4571c64b Mon Sep 17 00:00:00 2001 From: n0099 Date: Sat, 12 Aug 2023 05:27:59 +0800 Subject: [PATCH] apply for other variants --- docker/ubuntu20-dotnet6-opencv4.6.0/Dockerfile | 3 ++- docker/ubuntu20-dotnet6sdk-opencv4.6.0/Dockerfile | 3 ++- docker/ubuntu22-dotnet6-opencv4.8.0/Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/ubuntu20-dotnet6-opencv4.6.0/Dockerfile b/docker/ubuntu20-dotnet6-opencv4.6.0/Dockerfile index 705a5f3ee..f77a5978c 100644 --- a/docker/ubuntu20-dotnet6-opencv4.6.0/Dockerfile +++ b/docker/ubuntu20-dotnet6-opencv4.6.0/Dockerfile @@ -6,7 +6,8 @@ ENV OPENCV_VERSION=4.6.0 WORKDIR / # Install opencv dependencies -RUN apt-get update && apt-get -y install --no-install-recommends \ +RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:alex-p/tesseract-ocr5 \ + && apt-get -y install --no-install-recommends \ apt-transport-https \ software-properties-common \ wget \ diff --git a/docker/ubuntu20-dotnet6sdk-opencv4.6.0/Dockerfile b/docker/ubuntu20-dotnet6sdk-opencv4.6.0/Dockerfile index e05302449..c36814ce8 100644 --- a/docker/ubuntu20-dotnet6sdk-opencv4.6.0/Dockerfile +++ b/docker/ubuntu20-dotnet6sdk-opencv4.6.0/Dockerfile @@ -6,7 +6,8 @@ ENV OPENCV_VERSION=4.6.0 WORKDIR / # Install opencv dependencies -RUN apt-get update && apt-get -y install --no-install-recommends \ +RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:alex-p/tesseract-ocr5 \ + && apt-get -y install --no-install-recommends \ apt-transport-https \ software-properties-common \ wget \ diff --git a/docker/ubuntu22-dotnet6-opencv4.8.0/Dockerfile b/docker/ubuntu22-dotnet6-opencv4.8.0/Dockerfile index fe9d4235b..4beeae7bb 100644 --- a/docker/ubuntu22-dotnet6-opencv4.8.0/Dockerfile +++ b/docker/ubuntu22-dotnet6-opencv4.8.0/Dockerfile @@ -6,7 +6,8 @@ ENV OPENCV_VERSION=4.8.0 WORKDIR / # Install opencv dependencies -RUN apt-get update && apt-get -y install --no-install-recommends \ +RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:alex-p/tesseract-ocr5 \ + && apt-get -y install --no-install-recommends \ apt-transport-https \ software-properties-common \ wget \