From 4ff54f45c189b62124d8de9293fac23b0bb32835 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 18 Dec 2019 14:36:05 +0000 Subject: [PATCH] Fix healthcheck on supervisor debug builds We were relying on wget which was not brought into the image, so we switch this to curl, which is present. Change-type: patch Signed-off-by: Cameron Diver --- Dockerfile.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.debug b/Dockerfile.debug index fd1df84c..02f2f11a 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -80,7 +80,7 @@ COPY avahi-daemon.conf /etc/avahi/avahi-daemon.conf VOLUME /data HEALTHCHECK --interval=5m --start-period=1m --timeout=30s --retries=3 \ - CMD wget -qO- http://127.0.0.1:${LISTEN_PORT:-48484}/v1/healthy || exit 1 + CMD curl --fail http://127.0.0.1:${LISTEN_PORT:-48484}/v1/healthy RUN [ "cross-build-end" ]