How the Installer build-docker jenkins Job Works

The tml-installer uses a build.sh file to create and modify the Docker image.

The build.sh file is located under var > jenkins_home > docker-build. The following flow chart shows how the tml-installer works.

The build.sh file calls for the script build of individual Docker components. The script for this is <tml_component_type>.sh and is located under var > jenkins_home > docker-build > tmgc_<component_type>.

For example, to build a NoSQL Docker image, build script calls build-nosql.sh internally.

Next, to create the Docker image, each component's builder script uses Dockerfile.<tml_component_type> and create_<tml_component_type>.sh.

For example, to build a NoSQL component, the Docker image builder uses Dockerfile.nosql and create_nosql.sh.