News for hackers. Stuff that matters.
Re:How I shrunk a Docker image by 98.8% – featuring fanotify by nathwill on Saturday April 25, 2015 @12:19PM (#9438725)
Why not ldd?
Re:How I shrunk a Docker image by 98.8% – featuring fanotify by daakus on Saturday April 25, 2015 @12:58PM (#9438842)
It doesn't find dependencies like /etc/ssl/certs/ca-certificates.crt or /usr/share/zoneinfo.
Re:How I shrunk a Docker image by 98.8% – featuring fanotify by nathwill on Saturday April 25, 2015 @02:01PM (#9439026)
ah, thanks.
Re:How I shrunk a Docker image by 98.8% – featuring fanotify by sophacles on Saturday April 25, 2015 @12:49PM (#9438806)
I've been playing with a project to do this. The first major obvious problem is anything that uses dlopen won't necessarily get all that it needs.
Re:How I shrunk a Docker image by 98.8% – featuring fanotify by errordeveloper on Saturday April 25, 2015 @02:09PM (#9439074)
Yes. Grepping the code or fighting runtime errors are two complementary approaches I can think of... Not sure if there are other methods.