-
Notifications
You must be signed in to change notification settings - Fork 40.5k
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
Investigate fat jar unpack options #16197
Comments
Couldn't we have the task that builds the fat jar split in two stages - one that prepares fat jar contents in the build work directory, and other that does the actual assembly? That way if someone wants to package the application into a Docker image, or something else, they'd need to simply run the prepare task. That seems much more optimal than unpacking. I should note that these days I mostly use Jib, so I don't have a pressing need for this, but for some advanced scenario I'd still have interest in such arrangement. |
We think layertools should cover unpack needs for most users. |
@philwebb can you provide a link to layertools with instructions on how it covers the unpack needs? |
There's some information in the reference documentation. |
@wilkinsona Thanks for pointing to the new "Building Docker Image" section 31 added to the 2.3.x milestone reference docs > Spring Boot Features > Building Docker Images > Layering Docker Images. |
There's always going to be a certain overhead with our fat jar format so we should investigate what works best in terms of running an unpacked jar. This might overlap a little with #12545.
We should consider:
The text was updated successfully, but these errors were encountered: