Building small Java Docker images
When you take a look at the Java Official Docker images, you will immediately notice how fat they are: a whopping 243MB announced for a simple Java 8 JDK base image! It takes forever to download them from a regular DSL connection here.
Usually, your Dockerfile for Java apps starts with something like:
FROM java:8
MAINTAINER ...
Just try the following command: (you must have docker installed)
docker pull java:8
docker images | grep java