From 058a589d5964a43405a347c87ab7d7c3924d03c6 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 09:58:50 +0200 Subject: [PATCH] fix(docker): suppress DL3025 for HEALTHCHECK via inline pragma Same issue as devops-ia/powerpipe#28: hadolint 2.15.1 (bundled by hadolint-action v3.5.0, bumped in #30) stops honoring the top-level .hadolint.yaml ignore list for DL3025 on HEALTHCHECK CMD specifically. The HEALTHCHECK CMD uses shell form intentionally (needs the || exit 1 fallback, not expressible in JSON/exec form), so suppress the rule inline instead of depending on the broken config-based ignore. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01D8MDhpdCqZCczobh8qoQBK --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 46b3dfb..c829865 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,7 @@ WORKDIR /home/steampipe EXPOSE 9193 +# hadolint ignore=DL3025 HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \ CMD bash -c 'echo > /dev/tcp/localhost/9193' || exit 1