C shared libraries are so baller. But we "vendor" entire OSes now so idk. I think the next app container will just be the OS as well. I've had many a docker container fail to build on me. I think people don't realize how fragile this all is.
I build many a shared library, and often vendor code because its much easier to manage when code updates appear in my source control. My container apps are build only. I just use CI to package up the bare-metal app then the user builds the container on their machine. I like that a lot. Packages are only a few mb instead of 120mb and such. Plus the user gets it all, source and config they can do whatever they want, I promote the freedom to mess with things!