-
Notifications
You must be signed in to change notification settings - Fork 515
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
Spring Boot Generator should utilize the layered jar if present and use it as Docker layers #1674
Comments
@friedeas can you please specify the file in which changes has to be made? |
The context for this issue is here: https://gitter.im/eclipse/jkube?at=62dfd33c76cd751a2f86b25f A refactor of the Spring Boot generator is needed prior to changing its behavior. We will be taking care of these tasks. |
@manusa is there any chance that the Spring Boot generator will be refactored in the near future to address this issue? |
Yes, updated support for Spring Boot is a priority right now. |
Duplicate/similar of/to #763 |
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (eclipse-jkube#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…ar if present and use it as Docker layers (#1674) + Add LayeredJarGenerator for layered container assembly for spring boot + Add gradle integration test for spring boot layered image generation Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Component
No response
Is your enhancement related to a problem? Please describe
Using Spring Boots “fat jar” in the Dockerfile instead of the layers provided in the layered jar gives away the potential for an optimized image.
Describe the solution you'd like
If a layered Spring Boot jar is detected the layers returned from the command
java -Djarmode=layertools -jar target/sample-app.jar list
should be used as layers in the generated Dockerfile
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: