Skip to content

Commit de4db88

Browse files
kbamikegerber
authored andcommitted
Dockerfile: build ocrd-all-tool.json
1 parent 4ef8029 commit de4db88

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)