Skip to content

Commit ba45129

Browse files
committed
Dockerfile: build ocrd-all-tool.json
1 parent e01071d commit ba45129

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ ENV XDG_CONFIG_HOME /usr/local/share/ocrd-resources
2929

3030
WORKDIR /build/dinglehopper
3131
COPY . .
32+
COPY ocrd-tool.json .
33+
# prepackage ocrd-tool.json as ocrd-all-tool.json
34+
RUN ocrd ocrd-tool ocrd-tool.json dump-tools > $(dirname $(ocrd bashlib filename))/ocrd-all-tool.json
3235
RUN make install && rm -rf /build/dinglehopper
3336

3437
WORKDIR /data

0 commit comments

Comments
 (0)