There is crafted alpine image with glibc : https://github.com/frol/docker-alpine-glibc/blob/master/Dockerfile we can use it as we do many the same things as in our iamge, I would consider using it as our base image instead as pure alpine