core icon indicating copy to clipboard operation
core copied to clipboard

(Re)add a common base image with dumb_init and use it

Open ensonic opened this issue 9 months ago • 0 comments

We mostly use @distroless_base: https://github.com/search?q=repo%3Agooglecloudrobotics%2Fcore%20entrypoint&type=code or something build from it.

We shoudl add a local base_image using @distroless_basee, but adding https://github.com/Yelp/dumb-init?tab=readme-ov-file#usage as the entrypoint and use that instead.

Alternatively we need to make sure all services do implement signal handling like in https://github.com/googlecloudrobotics/core/blob/main/src/go/cmd/metadata-server/main.go#L220

ensonic avatar Mar 18 '25 11:03 ensonic