How to create a custom Docker image with JDK8, Maven and Gradle
--
Nowadays working on projects where different environments need to be handle (different technologies, languages, build automation system…) is a common situation for developers and engineers.
Recently I have been involved in a project that requires building 2 different types of java plugins. The first type was maven based projects, and the second one makes use of gradle. That situation forced us to maintain two different development environments, which provoked that classic "it worked in my machine" problem.