Skip to content
0:00 / 0:00

#docker#jib#buildpacks

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

Devoxx

172K subscribers • 49 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on Devoxx, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Matthias Haeussler
  • Linked in the descriptionmaeddes/java-and-containerSlides on Speaker Deck

Intermediate. Assumes working knowledge.

16K views1 year ago

Cloud and DevOpsProgramming languagesDocker and containersJava and the JVMKubernetes

Matthias Haeussler compares Dockerfiles, Cloud-Native Buildpacks, Google's Jib, and jlink to find the best way to containerize Java applications.

A typical workflow in a modern software dev project often looks like: Build code, put the built artifact into a container image, put the container image into a registry and deploy to Kubernetes. Each step has it’s own requirements and pitfalls alike. The overall goal is most often to bake those steps into easily repeatable pipelines and enable a high degree of automation and standardization. Dockerfiles seems to be the choice with the highest adoption when it comes to containerizing code artefacts. However most Dockerfiles (and also most sample's of Dockerfiles you find in tutorials) do not exploit it to the full potential. There are a lot of improvements to be done in how to build and optimize for VM-based applications. The talk will give deeper insights by comparing (simple and multi-stage) Dockerfiles to Cloud-Native Buildpacks (buildpacks.io/paketo.io), Google’s JIB and jlink under the evaluation criteria of - build time - build size - standardization - robustness - memory configuration - security The examples and live demo will have certain focus on Java-based frameworks (Spring Boot, Quarkus, Micronaut), but coverage of other languages will also be included and highlighted. Github @ github.com/maeddes/java-and-container Slides @ speakerdeck.com/maeddes/options-galore-from-source-code-to-c… #vdc25

Why it's here

A top upload from a listed channel

Devoxx is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.