From 32b2e4f69518140e63c46b8169d046275ff60daa Mon Sep 17 00:00:00 2001 From: maxenium <57560890+maxenium@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:24:03 +0200 Subject: [PATCH 1/2] Fix: No proxy being ignored by wget --- deploy/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index d67c9f7de0..8b232fe6d4 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -66,6 +66,6 @@ EXPOSE 8080 ENV CADVISOR_HEALTHCHECK_URL=http://localhost:8080/healthz HEALTHCHECK --interval=30s --timeout=3s \ - CMD wget --quiet --tries=1 --spider $CADVISOR_HEALTHCHECK_URL || exit 1 + CMD wget --quiet --tries=1 -Y off --spider $CADVISOR_HEALTHCHECK_URL || exit 1 ENTRYPOINT ["/usr/bin/cadvisor", "-logtostderr"] From 29b28dd5af62a6c99bc979750ec454418bc8bd6d Mon Sep 17 00:00:00 2001 From: Maximilian Dischner <57560890+maxenium@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:26:54 +0200 Subject: [PATCH 2/2] Fix: No proxy being ignored by wget --- deploy/Dockerfile.ppc64le | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/Dockerfile.ppc64le b/deploy/Dockerfile.ppc64le index 40e778e1e0..4ffd42beb2 100644 --- a/deploy/Dockerfile.ppc64le +++ b/deploy/Dockerfile.ppc64le @@ -14,7 +14,7 @@ ADD cadvisor /usr/bin/cadvisor EXPOSE 8080 HEALTHCHECK --interval=30s --timeout=3s \ - CMD wget --quiet --tries=1 --spider http://localhost:8080/healthz || exit 1 + CMD wget --quiet --tries=1 -Y off --spider http://localhost:8080/healthz || exit 1 ENTRYPOINT ["/usr/bin/cadvisor", "-logtostderr"]