(Linux Only) Building a Lightweight Docker Image for TIBCO BusinessEvents®

TIBCO BusinessEvents also provides a script file to build a lightweight Docker image for TIBCO BusinessEvents. This script file is available only for Linux platform at the BE_HOME/docker/frominstall folder.

Prerequisites

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

Procedure

  • Navigate to the BE_HOME/docker/frominstall folder and run the Docker image building script build_be_image_frominstallation.sh.
    ./build_be_image_frominstallation.sh [-h <BE_HOME_LOCATION>] -v <BE_VERSION> -i <IMAGE_VERSION> -d <DOCKERFILE> [-o <true/false>]
    Docker Image Building Script Arguments
    Argument Required/Optional Description
    -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)
    -h/--BE_HOME Optional Specify BE_HOME location. This is optional if the script is run from its default location.
    -o/--overwrite Optional Specifies whether to overwrite be.tar file (if already present) at BE_HOME/docker/bin. The values are:
    • true - overwrite the be.tar and continue
    • false - abort the script and exit.

    The default value is false .

    -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 TIBCO BusinessEvents installation. The default value is Dockerfile.fromtar.
    For example:
    ./build_product_image.sh -v 5.5.0 -i v01 -o true
    Note: Run the Docker image building script from BE_HOME/docker folder as the folder contains other files too, which are required for building the Docker image.