- Alpine JVM
A Java/Spring Boot Dockerfile on Alpine JRE with JVM tuning, graceful shutdown, a curl healthcheck, and OCI labels, balancing image size against maintainability.
- Auto Dependency
A Java Dockerfile that automatically upgrades Gradle plugins and dependencies at build time and uses a compiled Java class as the healthcheck on a distroless runtime.
- Distroless JLink
A Java Dockerfile that builds a minimal custom JRE with jlink and jdeps and runs it on a distroless base image with a busybox wget healthcheck.
- Optimization Techniques
An overview of four Dockerfile optimization approaches for Java/Spring Boot applications, compared by image size, security, and performance.
- Ultra Optimized
The most heavily optimized Java Dockerfile, combining a hand-picked jlink JRE, Spring Boot layered JARs, tini, SHA256-pinned Alpine, and a non-root CIS-compliant user.