E:存储库“http://ppa.launchpad.net/alex-p/tesseract-ocr/ubuntu focus Release”没有发布文件

shr*_*our 6 tesseract docker dockerfile ubuntu-16.04

我正在尝试在我的 docker 映像上安装 tesseract-ocr 版本 4.1.1,但我没有找到版本,尽管我已经在我的本地机器上安装了它。然后我尝试添加它的 repo 以便我可以修复错误,但我遇到了另一个错误E: The repository 'http://ppa.launchpad.net/alex-p/tesseract-ocr/ubuntu focal Release' does not have a Release file

这是我在 Dockerfile 中使用的一组命令来创建 docker 映像以安装 tesseract

RUN file="$(apt-get update && \
            apt-get install -y apt-utils && \
            apt-get install -y curl && \
            apt-get update && \
            apt-get install -y software-properties-common && \
            apt-get update && \
            add-apt-repository ppa:alex-p/tesseract-ocr -y && \  # the error here
            apt-get update && \
            apt install tesseract-ocr=4.1.1-1ppa1~xenial1 -y)" && echo $file # the version I need
Run Code Online (Sandbox Code Playgroud)

我已经做了很多搜索,但我仍然无法安装它。我该如何解决这个错误,或者我使用另一种方式安装 tesseract 4.1.1 !?

我的基础镜像是 python 3.7.6

注意:我不能使用 tesseract docker 镜像来避免我的其余模块出现任何版本错误