I've not used this particular image myself but I have installed glibc in an alpine image, then compiled some code and copied that over to run on the scratch image as part of a multi-stage build.
Super useful as alpine is a small image and with none of the drawbacks mentioned in the blog post.