Skip to content

Commit

Permalink
Upgrade docker alpine to latest 3.19.x and add note about 3.20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Sep 15, 2024
1 parent 0e4cce2 commit 6ca4940
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6ca4940

Please sign in to comment.