Hi,

I have been trying to use the minimal_build for python with the
provided examples Dockerfile.ubuntu for my lambda layers since it has
a 250 MB limit. I am able to run the build and generate a pyarrow
library. However, the library does not contain any shared .so files.
When in use, it says:

`"Unable to import module 'lambda_function': libarrow.so.1500: cannot
open shared object file: No such file or directory"`

I modified the Dockerfile to use python 3.10, ubuntu image to 22.04
and set the `--platform linux/x86_64` when building the image to
ensure it is compatible with the lambda architecture.

I would be very grateful if you could help me with this,

Thank you!

Shara

Reply via email to