Crafting perfect Java Docker build flow
TL;DR
What is the bare minimum you need to build, test and run my Java application in Docker container?
The recipe: Create a separate Docker image for each step and optimize the way you are running it.
Introduction
I started working with Java in 1998, and for a long time, it was my main programming language. It was a long love–hate relationship.
DDuring my work career, I wrote a lot of code in Java. Despite that fact, I don’t think Java is usually the right choice for writing microservices running in Docker containers.