News for hackers. Stuff that matters.
Re:How We Use Docker For Continuous Delivery – Part 2 by tburch on Monday June 09, 2014 @11:40AM (#7868933)
What do you use in Jenkins to build your Docker images? Are they just Maven projects?
Re:How We Use Docker For Continuous Delivery – Part 2 by sionsmith on Wednesday June 11, 2014 @09:44AM (#7877931)
Ok not sure what Contino do, but you want to do something along the lines of the following:

- Build your java / maven projects as normal.

- Use the maven scm / release plugin to publish your artifacts to your internal maven repo (Nexus) we use.

- In your Dockerfile use wget and the Nexus REST api to pull the jar / zip whatever from the Maven repo. (https://maven.java.net/nexus-core-documentation-plugin/core/...)

- Install Docker publish image plugin for Jenkins (https://github.com/jenkinsci/docker-build-publish-plugin/blo...)

- Create a downstream project based on your java / build.

Once all that is set up, every time you do a push / check in a the Docker image in your registry should be update.