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
12 lines
791 B
Plaintext
12 lines
791 B
Plaintext
|
|
=== docker run jib-demo:1.0.0 (memory limit 512m) ===
|
|
$ curl localhost:18080/hello
|
|
{"user":"ubuntu","maxHeapMb":371,"javaVersion":"25.0.5.1+2-LTS","greeting":"hello from a Jib image"}
|
|
$ curl localhost:18080/actuator/health
|
|
{"groups":["liveness","readiness"],"status":"UP"}
|
|
|
|
=== First lines of the container log ===
|
|
INFO 1 --- [jib-demo] [ main] com.ankurm.jibdemo.JibDemoApplication : Starting JibDemoApplication using Java 25.0.5.1 with PID 1 (/app/classes started by ubuntu in /)
|
|
INFO 1 --- [jib-demo] [ main] o.s.boot.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path '/'
|
|
INFO 1 --- [jib-demo] [ main] com.ankurm.jibdemo.JibDemoApplication : Started JibDemoApplication in 2.919 seconds (process running for 3.306)
|