From 1e3145cd20ba6bf81f66ea59f0adc3398df2d5d0 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 1108f4ab22..332cf0e8a1 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -68,6 +68,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 cc25bf17a61266e6bb5bfc820f2c46848f1016f7 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"]