Generating BusinessEvents Application Dockerfile
For building the BusinessEvents application Docker image, you require the BusinessEvents application Dockerfile. TIBCO BusinessEvents provide an utility to generate the application Dockerfile automatically based on the supplied arguments.
If you want to include external files, external JAR file, global variables, backing store shared resource, or expose more ports for the application, see BusinessEvents Docker Utility Features.
Prerequisites
Before generating the BusinessEvents application Dockerfile, ensure that BusinessEvents Docker image is created. See Building the TIBCO BusinessEvents Docker Image for more details.
Procedure
-
Go to the
BE_HOME/docker/bin folder and run the application Dockerfile generation executable
be-docker-gen.
./be-docker-gen -t <TARGET_DIRECTORY> -i <BE_BASE_DOCKER_IMAGE> -m <MAINTAINER> -e <EMAIL> -l <LABEL> -h <HELP>
Docker Image Building Script Arguments Argument Required/Optional Description -t/-target-dir Required Path of the directory where the application CDD file, enterprise archive (EAR) file, and external jars are stored. -i/-image Required Name of the base BusinessEvents Docker image. The naming convention of the Docker image consists of BusinessEvents version and image version number: BusinessEventsVersion-ImageVersion. For example, 5.4.0-v01. -m/-maintainer Required Name of the author of the Docker image. -e/-email Required Email of the author of the Docker image. -l/-label Optional Label that you want attach to this application Dockerfile. You can specify multiple labels. -h/-help Optional Displays usage of the be-docker-gen command. ./be-docker-gen -t /home/app -i 5.4.0-v01 -m FraudDetection -e fdcache@abc.com –l ApplicationName=FraudDetection
Next topic: Building BusinessEvents Application Docker Image
Previous topic: Building the TIBCO BusinessEvents Docker Image
Copyright © TIBCO Software Inc. All rights reserved.