Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


This docker container will clone a git repository from $SOURCE_URI then run an arbitrary maven build from the $MAVEN_COMMAND returning the status code to indicate if the build worked of failed.

Environment variables

  • SOURCE_URI - a URI to clone the git repository from
  • SOURCE_REF - a reference to pass to Git for which commit to use (optional)
  • CONTEXT_DIR - a subdirectory of the retrieved source to run the build fro
  • MAVEN_COMMAND - the maven command line to run


docker run -it -e SOURCE_URI= -e MAVEN_COMMAND="mvn install" fabric8/maven
Docker Pull Command
Source Repository