Java applications containerized and deployed, make your buildpack edition
summary
Compares Dockerfile multi-stage builds, Google Jib and CNFC buildpacks with concrete tradeoffs: Docker is generic but needs a daemon, Jib produces reproducible images and uses Jib layering to avoid rebuilding unchanged classes, buildpacks use a pack CLI and compose many tiny packs (demo shows 7 of 16 buildpacks participating). Shows how to author a stack, buildpack detect/build scripts, create a custom builder, use rebase to swap base images, build Java 17 images and deploy via GitHub Actions to fly.io — demos succeed end-to-end.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 1:06Is it yet another containerization talk
- 3:16Containerizing Java options
- 7:16Dockerfile and multi-stage builds
- 9:44Demo Dockerfile examples
- 12:57Google Jib introduction
- 16:47Demo Jib Maven plugin
- 21:44Build packs overview
- 26:17Creating custom build packs
- 35:29Using existing build packs
- 36:57Demo Spring Boot with build packs
- 42:35Spring Boot integration details
- 44:20Rebasing images with build packs
- 45:24GitHub Actions deployment demo
- 48:14Q&A and closing remarks
related talks
49mDockerfiles, Jib ..., what's the best way to run your Java code in Containers?
49mJava Container Mastery: Optimizing Images Across Build Tools
46mDockerfiles, Buildpacks, Jib and more, best way to run Java code in Containers?
43mBuilding containers without DockerFile
29mBuildpacks+: A Gradual Move to Cloud Native Image Builds
45mBuilding & Managing Container Images at Scale with Cloud Native Buildpacks
05mProject Lightning Talk: Container Builds at Scale with Buildpacks
31mRunning Java Applications on Cloud Foundry
