Companion code for "Dockerizing Spring Boot 4: Layered Jars, Buildpacks, Distroless and Image Size Benchmarks". Fat jar on JDK and JRE, layered jar on Debian, Alpine and distroless, jlink, the JDK 25 AOT cache, Paketo buildpacks and Jib, each measured for size on disk and pushed, rebuild delta, startup, user and shell. Also PID 1 and signal handling, the jdeps module gap, AOT cache mismatches and buildpacks memory calculation. Transcripts in docs/output/, regenerated by scripts/run-all.sh. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01C3TETMrqVUWeFkNtz3Jbo3
15 lines
832 B
Plaintext
15 lines
832 B
Plaintext
## sbd/docker-images:aot-cache
|
|
Starting ImagesApplication v1.0.0 using Java 25.0.4 with PID 1 (/application/application.jar started by root in /applica
|
|
Started ImagesApplication in 1.657 seconds (process running for 1.966)
|
|
exit status while running: running
|
|
|
|
## sbd/docker-images:aot-cache-mismatch
|
|
[0.007s][warning][aot] The AOT cache was created by a different version or build of HotSpot
|
|
[0.007s][error ][aot] An error has occurred while processing the AOT cache. Run with -Xlog:aot for details.
|
|
[0.008s][error ][aot] Loading static archive failed.
|
|
[0.008s][error ][aot] Unable to map shared spaces
|
|
Starting ImagesApplication v1.0.0 using Java 25.0.4.1 with PID 1 (/application/application.jar started by nonroot in /ap
|
|
Started ImagesApplication in 3.564 seconds (process running for 4.05)
|
|
exit status while running: running
|
|
|