Skip to content

Commit

Permalink
Clean network logging in dockerimage
Browse files Browse the repository at this point in the history
Fixes #426
  • Loading branch information
joschrew committed Jul 25, 2024
1 parent 25fa279 commit 305cb72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ RUN mkdir -p $XDG_CONFIG_HOME; \
chmod go+rwx /models

# smoke-test resmgr
RUN ocrd resmgr list-installed
RUN ocrd resmgr list-installed && \
# clean possibly created log-files/dirs of ocrd_network logger to prevent permission problems
rm -rf /tmp/ocrd_*

# remove (dated) security workaround preventing use of
# ImageMagick's convert on PDF/PS/EPS/XPS:
Expand Down

0 comments on commit 305cb72

Please sign in to comment.