~/talk

Dockerfiles, Jib ..., what's the best way to run your Java code in Containers?

Talkat Voxxed Days CERN 2025 · on Wednesday, 2025-01-15· [java]
slides:none on file

Compares concrete builds: classic Dockerfiles (simple and multi-stage Dockerfile), Google Jib, and Cloud‑Native Buildpacks (Paketo). Runs Maven/Gradle, uses jlink+jdeps to cut JRE from ~321MB down to ~63MB and splits jars so app layer shrinks to ~6KB in the demo, shows Paketo producing ~133MB images and a ~2GB builder, and shows Jib producing reproducible images without a Docker daemon. Measures build time, size, standardization, robustness, memory tuning and security and demonstrates building and pushing images successfully from the repo.

AI-written summary · about

  1. 0:00Introduction
  2. 3:32What is a container image
  3. 7:47Traditional Dockerfile approaches
  4. 9:32Multi-stage Docker builds
  5. 11:20BuildKit and advanced features
  6. 12:45Evaluating container images
  7. 15:37Optimizing Java images with jlink
  8. 18:29Dockerfile optimizations demo
  9. 23:10jlink-based Java image demo
  10. 27:26Evolution of container images
  11. 28:30Introduction to Jib
  12. 33:46Cloud Native Build Packs
  13. 36:20Cloud Native Build Packs demo
  14. 44:47Spring Boot integrations
  15. 45:28Summary
  16. 48:17Q&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.