From 32568a590f928a41c0a3c749d25945918d8a83a2 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 8 Jul 2026 02:54:34 +0200 Subject: [PATCH] Docker: update to ONNX base image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a15776e..f267b85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ LABEL \ org.opencontainers.image.documentation="https://github.com/qurator-spk/eynollah/blob/${VCS_REF}/README.md" \ org.opencontainers.image.revision=$VCS_REF \ org.opencontainers.image.created=$BUILD_DATE \ - org.opencontainers.image.base.name=ocrd/core-cuda-tf2 + org.opencontainers.image.base.name=ocrd/core-cuda-onnx ENV DEBIAN_FRONTEND=noninteractive # set proper locales @@ -40,8 +40,8 @@ RUN ocrd ocrd-tool ocrd-tool.json dump-tools > $(dirname $(ocrd bashlib filename RUN ocrd ocrd-tool ocrd-tool.json dump-module-dirs > $(dirname $(ocrd bashlib filename))/ocrd-all-module-dir.json # install everything and reduce image size RUN make install EXTRAS=OCR && rm -rf /build/eynollah -# fixup for broken cuDNN installation (Torch pulls in 8.5.0, which is incompatible with Tensorflow) -RUN pip install nvidia-cudnn-cu11==8.6.0.163 +# fixup for broken cuDNN installation (Torch may pull in version which is incompatible with Tensorflow) +# but most recent Torch versions pull cu13 variants, which are not conflicting here # smoke test RUN eynollah --help