Hacker News new | ask | show | jobs
by LelouBil 5 days ago
I get the savings of Distroless, but when you have an issue it's a pain to debug.
1 comments

copy the single busybox statically linked binary into a container, and you can create a bunch of symlinks for its tools that you want to use (this is how busybox container itself works)

makes it trivial to do the dhi/rootless thing but do ad-hoc debugging and then remove the debugging tools entirely, leaving no trace/bloat behind (just one file)