Hello

I'm trying to use Tika in a Docker container and wanted to use the
provided/example "docker-compose-tika-customocr.yml" file from
https://github.com/apache/tika-docker. So I cloned it and tried to
use it; commit: e32a05c

File:
https://github.com/apache/tika-docker/blob/e32a05c/docker-compose-tika-customocr.yml

Trying to start it:

askwar@mail /o/t/tika-docker> sudo -u container docker compose -f
docker-compose-tika-customocr.yml up yaml: line 22: did not find
expected ',' or ']'

Issue:

There's a \ missing before a ".

Fix:

-    entrypoint: [ "/bin/sh", "-c", "exec java -cp 
\"/customocr:/tika-server-standard-${TIKA_VERSION}.jar:/tika-extras/*" 
org.apache.tika.server.core.TikaServerCli -h 0.0.0.0 $$0 $$@"]
+    entrypoint: [ "/bin/sh", "-c", "exec java -cp 
\"/customocr:/tika-server-standard-${TIKA_VERSION}.jar:/tika-extras/*\" 
org.apache.tika.server.core.TikaServerCli -h 0.0.0.0 $$0 $$@"]

Would be nice if that could be fixed.

Cheers,

Alexander

Reply via email to