PR#489 (01430603b689bdb213acd7cf6eaa712173dea59f) introduced dumb-init for better signals handling.
While this has the intended effect, it was done ny downloading the dumb-init static bin into the image… only using the amd64 version.
Ever since, the image(s) have been broken for armv7 and arm64.
As dumb-init doesn't provide 32b arm binary and because it's such a simple/small code, this fix compiles it in a builder shallow image ; ensuring we're getting an appropriate binary for the target arch.
We are also statically linking against musl-C as this is supported by dumb-init and is much smaller than glibc.
PR#489 (01430603b689bdb213acd7cf6eaa712173dea59f) introduced dumb-init for better signals handling. While this has the intended effect, it was done ny downloading the dumb-init static bin into the image… only using the amd64 version.
Ever since, the image(s) have been broken for armv7 and arm64.
As dumb-init doesn't provide 32b arm binary and because it's such a simple/small code, this fix compiles it in a builder shallow image ; ensuring we're getting an appropriate binary for the target arch.
We are also statically linking against musl-C as this is supported by dumb-init and is much smaller than glibc.