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 e6e08e32d3
3 changed files with 5 additions and 3 deletions

2
go.mod
View file

@ -3,7 +3,7 @@ module git.happydns.org/checker-ldap
go 1.25.0
require (
git.happydns.org/checker-sdk-go v1.4.0
git.happydns.org/checker-sdk-go v1.5.0
git.happydns.org/checker-tls v0.6.2
github.com/go-ldap/ldap/v3 v3.4.8
github.com/miekg/dns v1.1.72