Add jib: Spring Boot 4.2.0 images with Jib 3.5.2 vs Buildpacks

Same app built both ways: layers, reproducible digest, extraDirectories, registry push
without a daemon, wrong-JRE and missing-compile failures, Buildpacks memory calculator at
512 MB. Captured output in jib/output, regenerated by jib/scripts/run-all.sh.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur Mhatre
2026-12-01 08:32:09 +05:30
co-authored by Claude Sonnet 5.5
parent ddc3ec9d90
commit bb12eaca0a
30 changed files with 744 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Which base image does Jib choose when you do not say? Ask it, with no -Djib.from.image override.
source "$(dirname "$0")/lib.sh"
{
banner "mvn compile jib:buildTar with no base-image override (java.version=25 in the pom)"
echo '$ mvn compile jib:buildTar'
"${MVN[@]}" clean compile jib:buildTar 2>&1 | grep -E 'Getting manifest|Using base image|Built image|ERROR\] (Failed|GET|\{)|BUILD' | sed -E 's/with digest: sha256:([0-9a-f]{12})[0-9a-f]+/with digest: sha256:\1.../' | cut -c1-300 || true
} 2>&1 | clean | tee "$OUT/10-default-base.txt"