forked from OCR-D/ocrd_fileformat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 693 Bytes
/
Dockerfile
File metadata and controls
26 lines (20 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ocrd/core
ARG VCS_REF
ARG BUILD_DATE
LABEL \
maintainer="https://ocr-d.de/kontakt" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/OCR-D/ocrd_fileformat" \
org.label-schema.build-date=$BUILD_DATE
ENV DEBIAN_FRONTEND noninteractive
ENV PREFIX=/usr/local
RUN apt-get update && apt-get install -y openjdk-11-jdk-headless wget git gcc unzip
WORKDIR /build
COPY ocr-fileformat ocr-fileformat/
COPY ocrd-fileformat-transform .
COPY ocrd-tool.json .
COPY Makefile .
RUN make install-fileformat install PREFIX=/usr/local SHELL="bash -x"
WORKDIR /data
ENV DEBIAN_FRONTEND teletype
CMD ["/usr/local/bin/ocrd-fileformat-transform", "--help"]