⚙️ Use Docker build ARGs for build args

feat/check-BEST-dimensions v0.1.1
Gerber, Mike 4 years ago
parent 311e3eab88
commit cf43f9af98

@ -1,7 +1,7 @@
FROM my_ocrd_workflow-core FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ENV DINGLEHOPPER_COMMIT 2b98f69 ARG DINGLEHOPPER_COMMIT="2b98f69"
# Build pip installable stuff # Build pip installable stuff

@ -1,7 +1,7 @@
FROM my_ocrd_workflow-core FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ENV OCRD_OLENA_VERSION 1.2.0 ARG OCRD_OLENA_VERSION="1.2.0"
# Build ocrd_olena # Build ocrd_olena

@ -1,7 +1,7 @@
FROM my_ocrd_workflow-core FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ENV TESSDATA_BEST_VERSION 4.0.0 ARG TESSDATA_BEST_VERSION="4.0.0"
ENV TESSDATA_PREFIX /usr/local/share/tessdata ENV TESSDATA_PREFIX /usr/local/share/tessdata

@ -1,7 +1,7 @@
FROM my_ocrd_workflow-core FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ENV SBB_TEXTLINE_DETECTOR_COMMIT 0f09f4a ARG SBB_TEXTLINE_DETECTOR_COMMIT="0f09f4a"
# Build pip installable stuff # Build pip installable stuff

Loading…
Cancel
Save