Building and Verifying the Docker Images
The Jenkins job build_docker is used to build the Docker images and to verify the images before proceeding to the next step.
- Third-party components required for image creation are packaged with the installer. Details on the packaged components are available in the License Agreement, enclosed with the installer bundle. Additional components, that are also required for the image creation process are documented here, must be downloaded during the image creation process from third-party sources.
- You can create and customize the docker image build process as needed, based on the required components outlined in the License Agreement and Third Party Components. As a convenience, for use or reference, TIBCO has provided sample docker image build scripts to use out of the box. These scripts are available in docker-build.tar.gz in the installer bundle.
RELEASE_VERSION
The release version, together with build number, are used to compose the docker image tag.
RELEASE_SUFFIX
This is the suffix used in conjunction with the release version, for example, GA, HF1 (for Hotfix 1), and so on.
TM_CONNECTORS
- Connectors available from the installer - loads the connectors that are readily availablle from the installer.
- Connectors uploaded from "upload_mashery_built_adapters" - only loads the connectors uploaded from the pre-build step.
- None
If you build with uploaded and then later build again with bundled, the later images wiill have connectors from the installer.
If you build with uploaded and the upload a new tar.gz in prebuild, then rebuild again with uploaded, the latest uploaded connectors are included.
If you select none, a 1.0 version of connector is installed. None is actually does not mean no connector is installed.
For more information on available options for building connectors, refer to Building and Installing API Management - Local Edition Connectors.
Choosing the Docker Images to Build
Jenkins Job Name | Mashery Local Docker image |
---|---|
BUILD_DOCKER_NOSQL | tml-nosql: NoSQL container |
BUILD_DOCKER_LOG | tml-log: Log container |
BUILD_DOCKER_SQL | tml-sql: SQL container |
BUILD_DOCKER_CACHE | tml-cache: Cache container |
BUILD_DOCKER_TM | tml-tm: Traffic Manager container |
BUILD_DOCKER_CM | tml-cm: Cluster Manager container |