- 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.
- Alpine Optimized
A Python FastAPI Dockerfile on Alpine that strips libraries, bytecode, and unused stdlib modules to get an image under 110MB with a non-root user.
- Optimization Techniques
An index of Dockerfile optimization approaches for Python applications, comparing distroless, Alpine, wheel-based offline, and UV plus tini builds.
- UV Alpine Tini
A simple, maintainable Python Dockerfile using UV on Alpine with tini as init, plus a cross-Dockerfile comparison, best practices, and conclusion for the Python series.
- UV Distroless
A multi-arch Python Dockerfile that installs dependencies with UV and runs on a distroless Debian 12 base with manually copied shared libraries for high security and small size.
- Wheel Offline
A Python Dockerfile that builds all dependencies into wheels in a builder stage, auto-patches vulnerable versions, and installs them offline in a slim runtime.