Hi. Based on suggestions on this thread[1], I started to look at how to build everything in our project with docker. This was surprisingly straight forward but I have some remaining questions. I figured I was not the only one and it might help people in the future so, here we go:
1. In Jenkins, rather than using a maven type job, I'm using a freestyle type job to call `docker run .... ` during the build phase. Is it the right way to go? 2. My docker images are based on `maven:alpine` with few extra bits and bobs on top. All is working fine but, how do I configure jenkins to push built artifacts (SNAPSHOT) on Apache maven repo? I'm sure other projects do that but couldn't figure it out so far. 3. Each git submodule requiring a custom docker image will have their own `Dockerfile` at the root. I was planning to create an extra jenkins job to build and publish those images to docker hub. Does Apache has an official account and if yes, should we use that? Otherwise, I'll create an account for our project only and share the credential with our PMCs. Best. [1] https://lists.apache.org/thread.html/204d803d92e12f566323881b8e617164a29edc4790b20d361f73dd36@%3Cbuilds.apache.org%3E
