When utilizing lambda functions within Docker containers with the zio-lambda library, an error occurs due to the absence of GLIBC_2.32 when using gcr.io/distroless/base. This issue can be resolved by switching to gcr.io/distroless/base-debian12.
Steps to Reproduce:
Set up a lambda function within a Docker container using gcr.io/distroless/base.
Attempt to execute the lambda function.
Encounter GLIBC_2.32 missing error.
Expected Behavior:
Lambda function should execute without errors.
Actual Behavior:
GLIBC_2.32 missing error occurs, hindering the execution of the lambda function.
Resolution:
Switching to gcr.io/distroless/base-debian12 resolves this issue.
Description:
When utilizing lambda functions within Docker containers with the zio-lambda library, an error occurs due to the absence of GLIBC_2.32 when using gcr.io/distroless/base. This issue can be resolved by switching to gcr.io/distroless/base-debian12.
Steps to Reproduce:
Expected Behavior:
Lambda function should execute without errors.
Actual Behavior:
GLIBC_2.32 missing error occurs, hindering the execution of the lambda function.
Resolution:
Switching to gcr.io/distroless/base-debian12 resolves this issue.
Documentation Update:
The documentation at https://github.com/zio/zio-lambda/blob/master/docs/index.md?plain=1#L91 should be updated to reflect this resolution.
Reference Information: