Inspired by the excellent anapsix Docker Alpine Java images.
Basic Docker Alpine Linux image for running Java 6 applications, it is much smaller than the official Java 6 image (175 MB vs 420 MB) which is based on a Debian image.
Example:
docker run -it --rm ticketfly/java:6 java -version