Find missing HEALTHCHECK

Apache 2.0

Finds Dockerfiles where the final stage is missing a HEALTHCHECK instruction (CIS Docker Benchmark 4.6). Health checks help container orchestrators determine if a container is healthy and ready to receive traffic.

org.openrewrite.docker.search.FindMissingHealthcheck
mod run . --recipe=org.openrewrite.docker.search.FindMissingHealthcheck

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.