From 6ca4940a32bb1146f70c2bb2497e0d5c0fa9ca6b Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 15 Sep 2024 16:43:35 -0700 Subject: [PATCH] Upgrade docker alpine to latest 3.19.x and add note about 3.20.x --- .docker/Dockerfile.alpine | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.docker/Dockerfile.alpine b/.docker/Dockerfile.alpine index 3ab270787..979a41054 100644 --- a/.docker/Dockerfile.alpine +++ b/.docker/Dockerfile.alpine @@ -1,7 +1,14 @@ # SPDX-FileCopyrightText: 2023 James R. Barlow # SPDX-License-Identifier: MPL-2.0 -FROM alpine:3.19.1 as base +# Note: Alpine 3.20 builds tesseract with --enable-opencl, which is not +# supported by anyone. OCRmyPDF is not compatible with Alpine 3.20.0 +# through 3.20.3. The Alpine issue should be fixed in 3.21.0. It is +# not clear if 3.20.4+ will have the fix. +# Details +# https://gitlab.alpinelinux.org/alpine/aports/-/issues/16143 +# https://github.com/ocrmypdf/OCRmyPDF/issues/1395 +FROM alpine:3.19 as base ENV LANG=C.UTF-8 ENV TZ=UTC