Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the Chrome included in this library be used in a Lambda function using Java? #58

Open
ukjjangstudy opened this issue Sep 4, 2023 · 1 comment

Comments

@ukjjangstudy
Copy link

Can I apply this layer to a Lambda function that I am using with Java? I currently only require Chrome, but adding Chrome to the Lambda layer would exceed the 250MB size limit. Therefore, I'm curious if I can use Chrome browser in Java through this library.

@iwaduarte
Copy link
Contributor

@ukjjangstudy I believe it is not possible. This lambda layer runs a Chromium version with JavaScript runtime and code (node_modules, etc.). There is also decompression, flag configuration, and so on and forth.

I think the best bet would be to stripe the compressed files (chromium, aws, swiftshader) and work out a Java API for the build folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants