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 Azure Access in the Mashery Local Installer

To configure access to Azure in the Mashery Local installer, run the configure_azure Jenkins job from the Prepush tab:

Complete the Project configure_azure dialog as follows:

  • DIRECTORY_ID - The Directory (tenant) ID .
  • APPLICATION_ID - The Application (client) ID .
  • CLIENT_SECRET - The client secret.
  • RESOURCE_GROUP - The Resource Group, which will be created if it does not already exist.
  • RESOURCE_GROUP_REGION - The Resource Group Region.
  • CONTAINER_REGISTRY - The Container Registry, which will be created if it does not already exist.