mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 15:32:24 +00:00
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 <cameron@balena.io>
This commit is contained in:
parent
e14b07390e
commit
4ff54f45c1
@ -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" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user