Building a Docker Image for TIBCO BusinessEvents®

TIBCO BusinessEvents provides a script file to build Docker image for BusinessEvents. This batch file (for Windows and Linux) is located at the BE_HOME/docker/bin folder.

In Linux platform, you can also generate the Docker image for BusinessEvents of reduced size using an alternate script. For details, see (Linux Only) Building a Lightweight Docker Image for TIBCO BusinessEvents® .

Prerequisites

Before building the Docker image for BusinessEvents, ensure that Dockerfile of BusinessEvents is created. See Dockerfile for TIBCO BusinessEvents for more details.

Procedure

  • Go to the BE_HOME/docker/bin folder and run the Docker image building script build_be_image.sh (in Linux) or build_be_image.bat (in Windows).
    ./build_be_image.sh -l <INSTALLERS_LOCATION> -v <BE_VERSION> -e <BE_EDITION> -i <IMAGE_VERSION> -a <BE_ADDONS> --hf=<BE_HOTFIX> --as-hf=<AS_HOTFIX> -d <DOCKERFILE>
    Docker Image Building Script Arguments
    Argument Required/Optional Description
    -l/--installers-location Required Location where TIBCO BusinessEvents and TIBCO Activespaces installers are located.
    -e/--edition Required TIBCO BusinessEvents software edition. The values are:
    • standard
    • enterprise
    -v/--version Required TIBCO BusinessEvents software version (3 part number).
    -i/--image-version Required Version number that you want to assign to the image (for example, v01)
    -a/--addons Optional (Optional) Comma-separated values for required add-ons. The values are:
    • process
    • views
    • datamodeling
    • decisionmanager
    • eventstreamprocessing
    --hf Optional Additional TIBCO BusinessEvents hotfix version (for example, 1)
    --as-hf Optional Additional TIBCO ActiveSpaces hotfix version (for example, 1)
    -d/--dockerfile Optional Dockerfile to be used for generating image. You can use your own Dockerfile or you can edit and use the Dockerfiles provided with the BusinessEvents installation. The default value is Dockerfile.
    For example:
    ./build_product_image.sh -l /home/pkgs/5.5 -e standard -v 5.5.0 -i v01 -a process --hf=1
    Note:
    • Run the Docker image building script from BE_HOME/docker/bin folder as the folder contains other files that are required for building the docker image.
    • Encapsulate all the arguments between double quotes (").