~/talk

Jdeps, Jlink and Layers: Slim Down Your Java Docker Images

TalkinFrenchat Devoxx France 2026 · 2026-04-22..04-24· [java, devops-and-delivery]
links:none on file
slides:none on file

Shows how to shrink Java Docker images by creating a custom runtime with jdeps and jlink, using Docker layer best practices and Spring-specific layered jars, and leveraging Docker’s garbage-collection cleanup. Also covers pitfalls to watch for (especially reflection-related API issues) and targets intermediate Java/Docker users with practical, accessible techniques.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Storage quota problem
  3. 5:17Dockerfile analysis
  4. 8:27JDEPS for modules
  5. 9:10JLink optimization
  6. 10:55Multistage build
  7. 12:41JDEPS and JLink in Dockerfile
  8. 15:51Results and size
  9. 16:12Docker layers
  10. 20:06Spring Boot layers
  11. 24:37Dockerfile order
  12. 27:27GC effects
  13. 31:19Reflection risks
  14. 34:29Missing modules
  15. 34:49Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.