aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.48k stars 863 forks source link

Add a pattern showing using compiled dependencies for ruby #2195

Closed joyofhex closed 2 months ago

joyofhex commented 2 months ago

Issue #, if available:

Description of changes: This adds a pattern that can be used when you need to use a gem with native extensions that also require shared libraries to be available at runtime. To do so we build a custom build container containing the needed libraries, then create a lambda layer that has those libraries present. Finally we build the application and create a .zip archive.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jbesw commented 2 months ago

Please submit this to the repos directory at serverlessland.com/repos.