I have created a Docker official Maven image running on jdk 6, 7, and 8. Allows trying Maven in sandboxed environments and run auto builds.
There are probably a number of other interesting use cases too, so feel free to let me know about any improvements. https://registry.hub.docker.com/_/maven/ https://github.com/carlossg/docker-maven Cheers