Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build modules against same GLIBC as for official Nginx image (#587)
Switch from ubuntu to debian for ci image to build binaries Switching from using Ubuntu to Debian for the CI image to build binaries is necessary because of compatibility issues with GLIBC versions. Currently, the docker image for nginx uses `debian:stable` as its base. However, latest nginx opentracing modules built on `ubuntu:23` has newer versions of GLIBC, causing problems when trying to use the nginx docker image to deploy the latest binaries on the release page. For example, when trying to integrate the latest release (v0.34.0) of nginx-opentracing with nginx Docker images, there are compatibility issues. nginx-opentracing v0.34.0 needs GLIBC 2.38, but nginx:1.25.4 has GLIBC 2.36, causing errors like: ``` The latest release (v0.34.0) of nginx-opentracing is no longer compatible with nginx's debian-based docker images. nginx-opentracing v0.34.0 requires GLIBC 2.38, while e.g. nginx:1.25.4 has GLIBC 2.36: ``` Switching to Debian as the standard base image will help prevent future problems with different GLIBC versions and make integration smoother.
- Loading branch information