Add docker-images: one Spring Boot 4 service packaged nine ways
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
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# ca-certificates binding
|
||||
|
||||
Used only with `-Pcorporate-proxy`. Put your proxy's CA certificate here as a `.pem` file next to
|
||||
`type`; the Paketo CA Certificates buildpack adds it to the build container's trust store so the
|
||||
Java buildpack can download its JRE through a TLS-intercepting proxy.
|
||||
|
||||
`*.pem` files in this directory are git-ignored on purpose - a CA certificate from one network does
|
||||
not belong in a repository. See [docs/04-buildpacks.md](../../docs/04-buildpacks.md).
|
||||
@@ -0,0 +1 @@
|
||||
ca-certificates
|
||||
+1
@@ -0,0 +1 @@
|
||||
file:///platform/bindings/dependency-mapping/spring-cloud-bindings-2.0.4.jar
|
||||
@@ -0,0 +1,10 @@
|
||||
# dependency-mapping binding
|
||||
|
||||
Used only with `-Pno-maven-central`. The file named
|
||||
`32e47c2139d6379836910f0d1cc253a019ac282f3aeea12237069f00046279ad` - the sha256 the Spring Boot
|
||||
buildpack 5.36.7 expects for Spring Cloud Bindings 2.0.4 - contains a `file://` URI pointing at a
|
||||
local copy of that jar, so the build never contacts repo1.maven.org.
|
||||
|
||||
Run `../../scripts/fetch-buildpack-deps.sh` to download and verify the jar (it is git-ignored).
|
||||
A newer buildpack version will expect a different jar and hash; read them from the builder's
|
||||
`/cnb/buildpacks/paketo-buildpacks_spring-boot/<version>/buildpack.toml`.
|
||||
@@ -0,0 +1 @@
|
||||
dependency-mapping
|
||||
Reference in New Issue
Block a user