You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2022/10/21 19:34:46 UTC
[tika-docker] branch bind-test-to-localhost created (now 6cb36c1)
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a change to branch bind-test-to-localhost
in repository https://gitbox.apache.org/repos/asf/tika-docker.git
at 6cb36c1 bind test to localhost
This branch includes the following new commits:
new 6cb36c1 bind test to localhost
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[tika-docker] 01/01: bind test to localhost
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch bind-test-to-localhost
in repository https://gitbox.apache.org/repos/asf/tika-docker.git
commit 6cb36c1cc7395961825ba17d19e2461847c94f66
Author: tballison <ta...@apache.org>
AuthorDate: Fri Oct 21 15:34:37 2022 -0400
bind test to localhost
---
docker-tool.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker-tool.sh b/docker-tool.sh
index c49861c..4e0710d 100755
--- a/docker-tool.sh
+++ b/docker-tool.sh
@@ -37,7 +37,7 @@ done
test_docker_image() {
- docker run -d --name "$1" -p 9998:9998 apache/tika:"$1"
+ docker run -d --name "$1" -p localhost:9998:9998 apache/tika:"$1"
sleep 10
url=http://localhost:9998/version
status=$(curl --head --location --connect-timeout 5 --write-out %{http_code} --silent --output /dev/null ${url})