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