Java 11 is announced to be the most recent LTS version. So, we're trying to start new services based on this Java version.
However, the base Docker image for Java 11 is much larger than the equivalent for Java 8:
(I'm considering only the official OpenJDK and the most lightweight images for each Java version.)
Deeper digging uncovered the following "things":
the openjdk:11-jre-slim image uses the base image debian:sid-slim. This brings 2 issues:
this is 60 MB larger than alpine:3.8
the Debian sid versions are unstable
the openjdk-11-jre-headless package installed in the image is 3 times larger than openjdk8-jre (inside running Docker container):
openjdk:8-jre-alpine:
/ # du -hs /usr/lib/jvm/java-1.8-openjdk/jre/lib/
57.5M /usr/lib/jvm/java-1.8-openjdk/jre/lib/
openjdk:11-jre-slim:
# d