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 2020/11/30 21:51:03 UTC
[tika-docker] 24/28: expand shell
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
commit 0ca602700c350760a127d2eaa1f781a354fe04e9
Author: Schmitt Christian <c....@briefdomain.de>
AuthorDate: Tue Sep 1 20:06:10 2020 +0200
expand shell
---
full/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/full/Dockerfile b/full/Dockerfile
index e88aade..f3ccd83 100644
--- a/full/Dockerfile
+++ b/full/Dockerfile
@@ -49,7 +49,7 @@ ENV TIKA_VERSION=$TIKA_VERSION
COPY --from=fetch_tika /tika-server-${TIKA_VERSION}.jar /tika-server-${TIKA_VERSION}.jar
EXPOSE 9998
-ENTRYPOINT ["java", "-jar", "/tika-server-${TIKA_VERSION}.jar", "-h", "0.0.0.0"]
+ENTRYPOINT [ "/bin/sh", "-c", "exec java -jar /tika-server-${TIKA_VERSION}.jar -h 0.0.0.0 $0 $@"]
LABEL maintainer="Apache Tika Developers dev@tika.apache.org"