You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by dm...@apache.org on 2021/10/20 05:07:47 UTC

[tika-docker] branch master updated: Updated to use TIKA_VERSION env variable set in the container

This is an automated email from the ASF dual-hosted git repository.

dmeikle pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 575bc50  Updated to use TIKA_VERSION env variable set in the container
575bc50 is described below

commit 575bc5065d93d51f792534900cb6b0a2b75ec2b8
Author: David Meikle <dm...@apache.org>
AuthorDate: Wed Oct 20 06:07:42 2021 +0100

    Updated to use TIKA_VERSION env variable set in the container
---
 sample-configs/ner/run_tika_server.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sample-configs/ner/run_tika_server.sh b/sample-configs/ner/run_tika_server.sh
index 29bf019..4e6220e 100755
--- a/sample-configs/ner/run_tika_server.sh
+++ b/sample-configs/ner/run_tika_server.sh
@@ -57,6 +57,6 @@ echo "EMAIL=(?:[a-z0-9!#$%&'*+/=?^_\`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_\`{|}~-]+)*
 # Can be a single implementation or comma seperated list for multiple for "ner.impl.class" property
 RECOGNISERS=org.apache.tika.parser.ner.opennlp.OpenNLPNERecogniser,org.apache.tika.parser.ner.regex.RegexNERecogniser
 # Set classpath to the Tika Server JAR and the /ner folder so it has the configuration and models from above
-CLASSPATH=/ner:/tika-server-${TAG}.jar
+CLASSPATH=/ner:/tika-server-${TIKA_VERSION}.jar
 # Run the server with the custom configuration ner.impl.class property and custom /ner/tika-config.xml
 exec java -Dner.impl.class=$RECOGNISERS -cp $CLASSPATH org.apache.tika.server.TikaServerCli -h 0.0.0.0 -c /ner/tika-config.xml
\ No newline at end of file