mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:32:57 +03:00
[PR #716] feat: distroless container additional variant + healthcheck command #663
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/pocket-id/pocket-id/pull/716
State: closed
Merged: Yes
Fix #680
Adds a
-distrolessvariant for the container image, which is based ongcr.io/distroless/static-debian12:nonrootBecause 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)