Skip to content

fix: faster health check and correct image labels - #25

Merged
duncdrum merged 2 commits into
mainfrom
dp-image-hygiene
Oct 15, 2026
Merged

duncdrum merged 2 commits into
mainfrom
dp-image-hygiene

Conversation

@duncdrum

@duncdrum duncdrum commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • Health check: restate the inherited probe with --interval=10s --timeout=30s --start-period=60s --retries=3. The base image sets no interval, so docker only reported healthy after the default 30s (about 50s in practice) although the server is up within seconds. Same exec-form command, so it still works without a shell or curl.
  • Labels: override the labels inherited from distroless-exist (title, description, source, url). The workflow now sets revision, created and version for both the test build and the push-by-digest build.

Verified

  • Local build: container reports healthy in about 8s (was about 50s); labels as expected.
  • docker build --check and actionlint pass (apart from the existing SC2024/SC2046 shellcheck warnings).

Not verified

  • created, revision and version come from the workflow, so they are only visible on a CI-built image. I only checked the static labels locally.

Related, not in this PR

🤖 Generated with Claude Code

duncdrum and others added 2 commits October 14, 2026 17:39
The inherited HEALTHCHECK has no interval, so docker only reports healthy
after the default 30s although the server is up within seconds. Restate
the same probe with --interval=10s and a start period.

Override the labels inherited from distroless-exist (title, source,
description, url) and set revision, created and version at build time.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@duncdrum
duncdrum marked this pull request as ready for review October 15, 2026 15:11
@duncdrum
duncdrum merged commit 3bb799e into main Oct 15, 2026
3 checks passed
@duncdrum
duncdrum deleted the dp-image-hygiene branch October 15, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant