#docker

  • 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.
  • Alpine Nginx
    A React/Vite Dockerfile that compiles a minimal Nginx from source on Alpine with pre-compressed assets and security headers, plus a comparison and the full Dockerfiles of all five React approaches.
  • BusyBox Httpd
    A React/Vite Dockerfile that serves gzip-precompressed static files with BusyBox httpd on the 92.5 KB lipanski/docker-static-website base image.
  • Distroless Nginx
    A React/Vite Dockerfile that compiles a fully static, UPX-compressed Nginx and ships it in a FROM scratch image under 6MB with gzip and Brotli assets.
  • Go FastHTTP
    A React/Vite Dockerfile that embeds the built static files into a single UPX-compressed Go FastHTTP binary and runs it from a scratch image.
  • Optimization Techniques
    An index of five Dockerfile optimization approaches for React SPAs, from simple BusyBox httpd to custom-built Nginx and a Go FastHTTP binary.
  • Scratch Nginx
    A React/Vite Dockerfile that builds a minimal dynamically linked Nginx, copies only its shared libraries into a scratch image, and uses a static C healthcheck binary.
  • VPS Hosting
    Guide to fixing the UFW and Docker firewall conflict on a VPS with ufw-docker, plus an overview of the Nixopus VPS management platform.