From cd3ca6b1559f361d7f0d17d6673322edf2592b73 Mon Sep 17 00:00:00 2001 From: Me Date: Sat, 14 Mar 2020 10:25:25 +0100 Subject: [PATCH] Silent curl --- drone/Dockerfile.1 | 2 +- drone/Dockerfile.runner.docker.1 | 2 +- gotify/Dockerfile | 2 +- registry/Dockerfile.2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drone/Dockerfile.1 b/drone/Dockerfile.1 index 9f9462f..3e314df 100644 --- a/drone/Dockerfile.1 +++ b/drone/Dockerfile.1 @@ -4,4 +4,4 @@ RUN set -ex \ && apk add --no-cache curl HEALTHCHECK --interval=5m --timeout=3s \ - CMD curl -f $(hostname -i || echo '127.0.0.1')/healthz || exit 1 \ No newline at end of file + CMD curl -s -f $(hostname -i || echo '127.0.0.1')/healthz || exit 1 \ No newline at end of file diff --git a/drone/Dockerfile.runner.docker.1 b/drone/Dockerfile.runner.docker.1 index c952e1f..ff7c856 100644 --- a/drone/Dockerfile.runner.docker.1 +++ b/drone/Dockerfile.runner.docker.1 @@ -4,4 +4,4 @@ RUN set -ex \ && apk add --no-cache curl HEALTHCHECK --interval=5m --timeout=3s \ - CMD curl -f $(hostname -i || echo '127.0.0.1'):3000/healthz || exit 1 \ No newline at end of file + CMD curl -s -f $(hostname -i || echo '127.0.0.1'):3000/healthz || exit 1 \ No newline at end of file diff --git a/gotify/Dockerfile b/gotify/Dockerfile index 0b7fe4d..975a6e0 100644 --- a/gotify/Dockerfile +++ b/gotify/Dockerfile @@ -4,6 +4,6 @@ RUN set -ex \ && apk add --no-cache curl HEALTHCHECK --interval=5m --timeout=3s \ - CMD curl -f $(hostname -i || echo '127.0.0.1')/health || exit 1 + CMD curl -s -f $(hostname -i || echo '127.0.0.1')/health || exit 1 COPY config.yml /etc/gotify/config.yml \ No newline at end of file diff --git a/registry/Dockerfile.2 b/registry/Dockerfile.2 index 631e7fa..94b70e7 100644 --- a/registry/Dockerfile.2 +++ b/registry/Dockerfile.2 @@ -5,4 +5,4 @@ RUN set -ex \ # TODO: use /debug/health HEALTHCHECK --interval=5m --timeout=3s \ - CMD curl -f $(hostname -i || echo '127.0.0.1')/v2/ || exit 1 \ No newline at end of file + CMD curl -s -f $(hostname -i || echo '127.0.0.1')/v2/ || exit 1 \ No newline at end of file