shelfio / chrome-aws-lambda-layer

58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
MIT License
637 stars 45 forks source link

Update Layer to use @sparticuz/chromium #54

Closed stefanzweifel closed 1 year ago

stefanzweifel commented 1 year ago

Updates the project to use @sparticuz/chromium instead of @sparticuz/chrome-aws-lambda. Chromium itself has also been updated to v109. This should fix #53.

I've deployed the layer to my own AWS account and could confirm that everything still works as intended.

(I've renamed chrome_aws_lambda.zip to chromium.zip, as the artifcat name in Sparticuz/chromium also changed.)

stefanzweifel commented 1 year ago

Any chance that this PR will get merged anytime soon? Anything that's missing that would make merging this PR easier?

I made a local commit that upgrades Chromium to v114, but I myself struggle to test the changes in my own project.

vladholubiev commented 1 year ago

@stefanzweifel thanks for the bump, we'll take a look

vladholubiev commented 1 year ago

@stefanzweifel published as verion 32

stefanzweifel commented 1 year ago

@vladgolubev Thank you! Also just noticed that the Sparticuz/chromium-project publishes their own zipped assets for Lambda. https://github.com/Sparticuz/chromium/tree/master/examples/serverless-with-preexisting-lambda-layer