rmannibucau commented on pull request #26: URL: https://github.com/apache/commons-fileupload/pull/26#issuecomment-623407004
@GedMarc kind of quit commons area but to do a pseudo native image (this is not really "native" strictly speaking) doing first a shade (potentially renaming manually since this does not change frames) with its own module-info importing the part of the jvm its needs is not that bad. Requires some work to merge properly the dependencies resources (SPI, cxf extensions for ext) and rework the scanning if implicit (thinking to cdi or spring but this is needed anyway) but at the end it creates a more efficient image without any fork anywhere. Now, with your stack your image will be not really smaller than the JVM flavor but it will prevent you to have clean layers in docker or anything so not sure the gain you run after since disk space and speed will not be reach in a significant manner IMHO. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
