[PR #716] feat: distroless container additional variant + healthcheck command #663

Closed
opened 2025-10-09 16:54:41 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/pocket-id/pocket-id/pull/716

State: closed
Merged: Yes


Fix #680

Adds a -distroless variant for the container image, which is based on gcr.io/distroless/static-debian12:nonroot

Because the distroless image doesn't have curl, in order to perform healthchecks I have added a new sub-command to the pocket-id binary pocket-id healthcheck, which performs a healthcheck on a running instance of Pocket ID. This is a simpler alternative to shipping the curl binary. (Note that curl is still bundled in the non-distroless image, for backwards compatibility)

**Original Pull Request:** https://github.com/pocket-id/pocket-id/pull/716 **State:** closed **Merged:** Yes --- Fix #680 Adds a `-distroless` variant for the container image, which is based on `gcr.io/distroless/static-debian12:nonroot` Because the distroless image doesn't have curl, in order to perform healthchecks I have added a new sub-command to the pocket-id binary `pocket-id healthcheck`, which performs a healthcheck on a running instance of Pocket ID. This is a simpler alternative to shipping the curl binary. (Note that curl is still bundled in the non-distroless image, for backwards compatibility)
OVERLORD added the pull-request label 2025-10-09 16:54:41 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#663