From 8b9a87b893cf250ead105cd037f9fd8e5065cd63 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 31 Aug 2023 13:01:33 +0200 Subject: [PATCH] fix the hc Signed-off-by: Simon L --- Containers/docker-socket-proxy/Dockerfile | 1 + Containers/docker-socket-proxy/healthcheck.sh | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Containers/docker-socket-proxy/Dockerfile b/Containers/docker-socket-proxy/Dockerfile index 6f72f7fd..8fcc32b7 100644 --- a/Containers/docker-socket-proxy/Dockerfile +++ b/Containers/docker-socket-proxy/Dockerfile @@ -6,6 +6,7 @@ RUN set -ex; \ apk add --no-cache \ ca-certificates \ tzdata \ + bash \ bind-tools; \ chmod -R 777 /tmp diff --git a/Containers/docker-socket-proxy/healthcheck.sh b/Containers/docker-socket-proxy/healthcheck.sh index c65762d4..d5bc089a 100644 --- a/Containers/docker-socket-proxy/healthcheck.sh +++ b/Containers/docker-socket-proxy/healthcheck.sh @@ -1,6 +1,4 @@ #!/bin/bash nc -z "$NEXTCLOUD_HOST" 9000 || exit 0 -if ! nc -z localhost 2375; then - exit 1 -fi +nc -z localhost 2375 || exit 1