busybox
busybox copied to clipboard
Consider single (standalone) applets variants
Consider adding alternative variants that have all applets built as standalone binaries.(make_single_applets.sh).
This would be great for building Docker images FROM scratch. It would allow users to selectively consume only the necessary tools, such as nslookup (~65K), for specific purposes like e.g. a HEALTHCHECK.
For example:
COPY --from=docker.io/busybox:musl-single /bin/nslookup /bin/
Oh, interesting idea!
For your use case, it would only really make sense to support the uclibc variants because they're the only ones that are actually statically compiled (and thus would run successfully inside FROM scratch or any arbitrary image), but that's still interesting IMO! :+1:
Oh okay, I was under the impression, that only the glibc variant wasn't statically compiled. Just uclibc would be sufficient, though.