core
core copied to clipboard
(Re)add a common base image with dumb_init and use it
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