navarasu / serverless-ruby-layer

A Serverless Plugin to deploy gems from Gemfile to AWS Layer
MIT License
72 stars 11 forks source link

Support for Ruby 3.2 Runtime #85

Closed ghosteathuman closed 12 months ago

ghosteathuman commented 1 year ago

Is your feature request related to a problem? Please describe. AWS Lamba has added support for the Ruby 3.2 runtime.

The serverless-ruby-layer use_docker option, when set to true, uses the lambci/lambda docker images, which project seems to be have been archived and wouldn't have a Docker image for Ruby 3.2.

Describe the solution you'd like Support for Ruby 3.2 runtime is available. The use_docker option, when set to true, will use an appropriate Docker image for Ruby 3.2.

Describe alternatives you've considered

Additional context

starverdiyev commented 1 year ago

AWS will deprecate ruby 2.7 layer in december 2023. So this updates to layer 3.2 is very important

nodanaonlyzuul commented 1 year ago

First - thanks to @navarasu and other contributors to this repository.

@navarasu - has there been any investigation into switching this repo to use the aws/aws-lambda-base-images images per lambci/lambda's deprecation suggestion?

@ghosteathuman / @starverdiyev - in the meantime - my team is using this repo's use_docker_file example and a minimal Dockerfile based on either aws-lambda-ruby:3.2 (base image) or the official ruby:3.2 image.

navarasu commented 1 year ago

Thank you all. Happy to see the new issue raised in this repo. Not sure how I missed this issue which is raised 3 months back. I will work on this asap. 😊

nodanaonlyzuul commented 1 year ago

Thanks @navarasu !

joshuaflanagan/serverless-ruby-package also added 3.2 support and moved to using aws/aws-lambda-base-images images in this PR if it can serve as inspiration.

navarasu commented 1 year ago

@nodanaonlyzuul We already have a PR for this change. https://github.com/navarasu/serverless-ruby-layer/pull/86 I merged it. I will update the old examples and will spin a new release. Thank you for your support

starverdiyev commented 1 year ago

@navarasu when new release will be available? I see that the last release is 1.6.0.

Thank you!

nodanaonlyzuul commented 1 year ago

Hello!

I'm also curious when a new version will be available. Thanks for the fast turnaround on the PR!

navarasu commented 12 months ago

@nodanaonlyzuul @starverdiyev Released 1.7.0 version with 3.2 support. Also updated examples

nodanaonlyzuul commented 12 months ago

Thank you SO much @navarasu !