From 25d452e350d60aa7abdef15799f83432c1fddfec Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 23 Oct 2020 17:33:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Make=20minimal=20ocrd=20ve?= =?UTF-8?q?rsion=20a=20build=20arg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile-core | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile-core b/Dockerfile-core index 9c85cf6..d0779ef 100644 --- a/Dockerfile-core +++ b/Dockerfile-core @@ -1,6 +1,7 @@ FROM ubuntu:18.04 ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" +ARG OCRD_VERSION_MINIMUM="2.18.1" ENV LC_ALL=C.UTF-8 LANG=C.UTF-8 ENV PIP_DEFAULT_TIMEOUT=120 @@ -37,7 +38,7 @@ RUN curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ # Install pip installable-stuff RUN ${PIP_INSTALL} \ - 'ocrd >= 2.13.1' + "ocrd >= ${OCRD_VERSION_MINIMUM}" # Check pip dependencies