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 2018/03/04 13:34:31 UTC

[tika] branch branch_1x updated: TIKA-1518: Updated the README and changed image name to tika-server for clarity

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

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


The following commit(s) were added to refs/heads/branch_1x by this push:
     new d810fba  TIKA-1518: Updated the README and changed image name to tika-server for clarity
d810fba is described below

commit d810fba5f395bff137a3541537cefc4f470565c5
Author: David Meikle <dm...@apache.org>
AuthorDate: Sun Mar 4 13:34:15 2018 +0000

    TIKA-1518: Updated the README and changed image name to tika-server for clarity
---
 tika-server/README.md | 16 ++++++++++++++++
 tika-server/pom.xml   |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/tika-server/README.md b/tika-server/README.md
index c6047e0..0b451a9 100644
--- a/tika-server/README.md
+++ b/tika-server/README.md
@@ -14,6 +14,22 @@ $ java -jar tika-server/target/tika-server.jar --help
     -s,--includeStack   whether or not to return a stack trace
                         if there is an exception during 'parse'
 ```
+Running via Docker
+------------------
+Assuming you have Docker installed, you can build you own local image using the:
+
+`mvn dockerfile:build`
+
+The image will be named apache/tika with the tag being the version being built.
+For example, building Apache Tika Server 1.17 will result in an image of `apache/tika-server:1.17`
+
+You can then run this image by executing the following, replacing `1.17` with your build version:
+
+`docker run -d -p 9998:9998 apache/tika-server:1.17`
+
+This will load Apache Tika Server and expose its interface on:
+
+`http://localhost:9998`
 
 Usage
 -----
diff --git a/tika-server/pom.xml b/tika-server/pom.xml
index 0a4425f..aee9049 100644
--- a/tika-server/pom.xml
+++ b/tika-server/pom.xml
@@ -273,7 +273,7 @@
           </execution>
         </executions>
         <configuration>
-          <repository>apache/tika</repository>
+          <repository>apache/tika-server</repository>
           <tag>${project.version}</tag>
           <buildArgs>
             <JAR_FILE>tika-server-${project.version}.jar</JAR_FILE>

-- 
To stop receiving notification emails like this one, please contact
dmeikle@apache.org.