~/talk

Dockerfile vs Jib vs Pack vs Native Image: Which Is the Best Image Build Method?

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [java]
links:none on file
slides:none on file

Compares four ways to build container images for a Spring Boot Java 17 app: Dockerfile (standard JDK image ~380 MB), Jib (produces a distroless ~288 MB image without Docker), buildpacks/pack (CNB) (~278 MB), and GraalVM native AOT. Measures image size, startup latency and throughput: native AOT gives the smallest binary (~98 MB, compressible to ~40 MB) but needs ~8 GB RAM and minutes to build; native starts ~100× faster (cold latency ~3.3 ms vs ~300 ms) and delivers about 10× throughput improvements.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Context and goals
  3. 3:15Classic Dockerfile
  4. 7:07Dockerfile optimization
  5. 8:37Jib builds
  6. 11:06Cloud Native Buildpacks
  7. 13:17GraalVM native images
  8. 20:24Image benchmarking
  9. 25:01Method comparison
  10. 26:06Q&A
~/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.