docker: add HEALTHCHECK probing /health

The binary doubles as its own healthcheck client via the SDK's
-healthcheck flag, so the probe works in the scratch image
(no shell, no curl, no wget).
This commit is contained in:
nemunaire 2026-04-26 10:53:12 +07:00
commit c7dad76034
3 changed files with 5 additions and 3 deletions

2
go.mod
View file

@ -3,7 +3,7 @@ module git.happydns.org/checker-ping
go 1.25.0
require (
git.happydns.org/checker-sdk-go v1.3.0
git.happydns.org/checker-sdk-go v1.5.0
git.happydns.org/happyDomain v0.7.0
github.com/miekg/dns v1.1.72
github.com/prometheus-community/pro-bing v0.8.0