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 f153bf0baf4e69bf675d2d469ea7c85bffa2e207
Author: Schmitt Christian <[email protected]>
AuthorDate: Tue Sep 1 20:06:35 2020 +0200

    expand shell minimal
---
 minimal/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minimal/Dockerfile b/minimal/Dockerfile
index 674ffde..b864390 100644
--- a/minimal/Dockerfile
+++ b/minimal/Dockerfile
@@ -45,6 +45,6 @@ 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 [email protected]"

Reply via email to