Open ukjjangstudy opened 11 months ago
@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.
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.