Search code examples
aws-lambdaamazon-linux

AWS Lambda Docker Image: OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found


I am creating an image for an AWS Lambda function based on public.ecr.aws/lambda/python:3.10 image. However, as I can understand, the image comes with glibc_2.26 installed. My function has a dependency on glibc_2.29. I know that creating a custom image based on python:3.10 for example would solve the issue, but I was looking if there is a solution to somehow use the official Lambda image.


Solution

  • Amazon Linux 2023 is now available, and it has upgraded glibc, gcc and binutils. Hooray!