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:
co-authored by
Claude Sonnet 5.5
parent
ddc3ec9d90
commit
bb12eaca0a
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerate every file in output/. Needs: JDK 25, Maven 3.9+, a running Docker daemon.
|
||||
# export JAVA_HOME=/path/to/jdk-25
|
||||
# ./scripts/run-all.sh # open network
|
||||
# PROXY_URL=http://host:port CA_DIR=/dir/with/type+ca.crt ./scripts/run-all.sh # TLS-intercepting proxy (see pom profile corp-proxy)
|
||||
# Timings in 07-compare.txt vary from run to run; treat them as indicative.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
for s in 01-versions 02-jib-build 03-run 04-layer-cache 05-reproducible 06-buildpacks 07-compare 08-failures 09-registry-push 10-default-base; do
|
||||
echo ">> $s"; ./$s.sh >/dev/null
|
||||
done
|
||||
echo "done: $(ls ../output | wc -l) files in output/"
|
||||
Reference in New Issue
Block a user