Creating Mashery Local Docker Images

The Jenkins job, build_docker, is used to create the Mashery Local Docker images.



 

RELEASE_VERSION

The release version, together with build number, are used to compose the docker image tag.

In the screenshot, RELEASE_VERSION is "5.3.0"; on the left pane of screenshot, it shows the build "#71" has been done, so Docker images in build #71 have tag "v5.3.0.GA.71".

RELEASE_SUFFIX

The suffix used in conjunction with the release version. For example, GA, HF1 (for Hotfix 1), and so on.

TM_CONNECTORS

In the TM_CONNECTORS section, you can choose to build "OAuth2 JWT Authenticator" into the Traffic Manager container (tml-tm).

You can also choose the following Docker images to build:

  • BUILD_DOCKER_NOSQL - NoSQL container (tml-nosql)
  • BUILD_DOCKER_LOG - Log container (tml-log)
  • BUILD_DOCKER_SQL - SQL container (tml-sql)
  • BUILD_DOCKER_CACHE - Cache container (tml-cache)
  • BUILD_DOCKER_TM - Traffic Manager container (tml-tm)
  • BUILD_DOCKER_CM - Cluster Manager container (tml-cm)
Note: You should verify the sizes of the images that are created. They should be approximately the following sizes after creation:
  • tml-nosql - 733MB
  • tml-log - 971MB
  • tml-sql - 2GB
  • tml-cache - 740MB
  • tml-tm - 822MB
  • tml-cm - 1.09GB

UPDATE_PACKAGES

The administrator can choose:
  • Update_Specified_Packages: update specified packages during build;
  • Update_All_Packages: all packages will be updated during build.

Uploads a csv file that contains the list of packages to be updated during build. This list is applied to all Docker images.

Here is an example content of a csv file:
python.x86_64
libssh2
systemd
bind-license
openssl-libs
device-mapper.x86_64
device-mapper-libs.x86_64

Configuring AWS Access in the Mashery Local Installer

To configure access to AWS in the Mashery Local installer, run the configure_aws Jenkins job:

Complete the Project configure_aws dialog as follows:

  • aws_access_key_id - The AWS access key ID is required.
  • aws_secret_access_key - The AWS secret access key is required.
  • aws_default_region - This is the region in which the AWS Kubernetes cluster and the Mashery Local cluster are being created.
  • aws_role_arn - The role Amazon Resource Name (ARN). This is required if AWS role-based access control is used. An example role ARN:

    arn:aws:iam::123456789012:role/TIBCO/Administrator