mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
docker: no need for g++, but install w/ 'EXTRAS=OCR'
This commit is contained in:
parent
722b5c6bf1
commit
ae066388ea
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ COPY ocrd-tool.json .
|
|||
# prepackage ocrd-tool.json as ocrd-all-tool.json
|
||||
RUN ocrd ocrd-tool ocrd-tool.json dump-tools > $(dirname $(ocrd bashlib filename))/ocrd-all-tool.json
|
||||
# install everything and reduce image size
|
||||
RUN apt-get install -y --no-install-recommends g++ && make install && rm -rf /build/eynollah && apt-get remove -y --auto-remove g++
|
||||
RUN make install EXTRAS=OCR && rm -rf /build/eynollah
|
||||
|
||||
WORKDIR /data
|
||||
VOLUME /data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue