Adjust tesseract-ocr5 package and revert to Ubuntu 22.04

22.04 has older Ghostscript which has fewer regressions.
This commit is contained in:
James R. Barlow
2024-11-08 15:20:40 -08:00
parent a1b8113d56
commit 5d128a91d2
+2 -2
View File
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2024 James R. Barlow
# SPDX-License-Identifier: MPL-2.0
FROM ubuntu:24.04 AS base
FROM ubuntu:22.04 AS base
ENV LANG=C.UTF-8
ENV TZ=UTC
@@ -51,7 +51,7 @@ FROM base
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:alex-p/tesseract-ocr5.3
RUN add-apt-repository -y ppa:alex-p/tesseract-ocr5
RUN apt-get update && apt-get install -y --no-install-recommends \
ghostscript \