Add support for ocrd_wrap aka ocrd-skimage-*
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Gerber, Mike 2021-02-16 18:42:08 +01:00
parent c3f37d8460
commit 94a035e2cf
4 changed files with 26 additions and 1 deletions

18
Dockerfile-ocrd_wrap Normal file
View file

@ -0,0 +1,18 @@
ARG DRONE_COMMIT="latest"
FROM quratorspk/ocrd-galley-core:$DRONE_COMMIT
ARG PIP_INSTALL="pip install --no-cache-dir"
ARG OCRD_WRAP_VERSION="0.1.4"
# Build pip installable stuff
RUN ${PIP_INSTALL} \
"ocrd_wrap == ${OCRD_WRAP_VERSION}"
# Check pip dependencies
RUN pip check
# Default command
CMD ["ocrd-preprocess-image"]