This directory includes the Docker scripts to build an image with GLibc compiled for Alpine Linux.
This is used to ensure plugins that are going to be used in the Pulsar image and that are depeding on GLibc, will still be working correctly in the Alpine Image. (eg: Netty Tc-Native and Kinesis Producer Library).
This image only needs to be re-created when we want to upgrade to a newer version of GLibc.
docker buildx build --platform=linux/amd64,linux/arm64 -t apachepulsar/glibc-base:2.38 . --push
The image tag is then used in docker/pulsar/Dockerfile
.