2021-02-12 13:17:31 +01:00
|
|
|
ARG DRONE_COMMIT="latest"
|
2021-02-15 10:50:40 +01:00
|
|
|
FROM mikegerber/ocrd-galley-core:$DRONE_COMMIT
|
2020-08-14 14:37:20 +02:00
|
|
|
|
2020-12-03 18:45:52 +01:00
|
|
|
ARG PIP_INSTALL="pip install --no-cache-dir"
|
2020-10-23 17:44:01 +02:00
|
|
|
ARG DINGLEHOPPER_COMMIT="6e47acd"
|
2020-08-14 14:37:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Build pip installable stuff
|
2020-09-25 16:11:11 +02:00
|
|
|
RUN ${PIP_INSTALL} \
|
2020-08-14 14:37:20 +02:00
|
|
|
# Now the real stuff:
|
|
|
|
https://github.com/qurator-spk/dinglehopper/archive/$DINGLEHOPPER_COMMIT.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# Check pip dependencies
|
2020-11-19 18:25:10 +01:00
|
|
|
RUN pip check
|
2020-08-14 14:37:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Default command
|
|
|
|
CMD ["ocrd-dinglehopper"]
|