Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 604 Bytes

image-optimization.md

File metadata and controls

15 lines (9 loc) · 604 Bytes

Container Image optimization

SpringBoot

Fat Jars

Don't Put Fat Jars in Container Images. It's better to split the dependencies into a different layer. The last layer will only contain your compile source code. Any new Image will only differ in this layer unless you update the dependencies.

See this blog post for more details.

More documentation: