From d7b0d07c71fae047c26f796ca6d0ea495864d189 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 2 Feb 2023 11:49:25 +0100 Subject: [PATCH] fix elasticsearch Signed-off-by: Simon L --- Containers/fulltextsearch/Dockerfile | 2 +- Containers/fulltextsearch/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Containers/fulltextsearch/Dockerfile b/Containers/fulltextsearch/Dockerfile index 77109685..4f4c7fbe 100644 --- a/Containers/fulltextsearch/Dockerfile +++ b/Containers/fulltextsearch/Dockerfile @@ -14,7 +14,7 @@ RUN set -ex; \ COPY start.sh / RUN chmod +x /start.sh -ENTRYPOINT ["/start.sh"] +ENTRYPOINT ["/bin/tini", "--", "/start.sh"] HEALTHCHECK CMD nc -z localhost 9200 || exit 1 LABEL com.centurylinklabs.watchtower.monitor-only="true" diff --git a/Containers/fulltextsearch/start.sh b/Containers/fulltextsearch/start.sh index 1048faa9..96ae1010 100644 --- a/Containers/fulltextsearch/start.sh +++ b/Containers/fulltextsearch/start.sh @@ -13,6 +13,6 @@ if [ "$(sysctl -n vm.max_map_count)" -le 65530 ]; then fi # Run initial entrypoint -/bin/tini -- /usr/local/bin/docker-entrypoint.sh +/usr/local/bin/docker-entrypoint.sh exec "$@"