feat: distroless container additional variant + healthcheck command #16

Closed
opened 2025-07-08 08:37:39 -04:00 by AtHeartEngineer · 0 comments

Originally created by @ItalyPaleAle on 7/3/2025

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)

*Originally created by @ItalyPaleAle on 7/3/2025* 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)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pocket-id#16