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
+22
View File
@@ -0,0 +1,22 @@
=== Build 1: unchanged source ===
a73f075296f4 19883908 bytes 49 files app/libs/HdrHistogram-2.2.2.jar
c40a9f3e76dd 466 bytes 1 files app/resources/application.properties
a44f4b821f44 1445 bytes 2 files app/classes/com/ankurm/jibdemo/HelloController.class
9a14dd547ae2 760 bytes 2 files app/jib-classpath-file
06bc0bf9c586 294 bytes 1 files etc/motd.txt
=== Edit one string in HelloController.java, then build 2 ===
a73f075296f4 19883908 bytes 49 files app/libs/HdrHistogram-2.2.2.jar
c40a9f3e76dd 466 bytes 1 files app/resources/application.properties
1059a437a912 1437 bytes 2 files app/classes/com/ankurm/jibdemo/HelloController.class
9a14dd547ae2 760 bytes 2 files app/jib-classpath-file
06bc0bf9c586 294 bytes 1 files etc/motd.txt
=== Layers whose digest changed (< build 1, > build 2) ===
< a44f4b821f44
> 1059a437a912
=== Files in the layer that changed ===
app/classes/com/ankurm/jibdemo/HelloController.class
app/classes/com/ankurm/jibdemo/JibDemoApplication.class