Adding the Microagent JAR files to the TIBCO BusinessWorks CE Docker Image

This section explains the procedure to add the microagent JAR files to the TIBCO BusinessWorks CE Docker image.

Prerequisites

  • Install Docker on the machine. For the installation procedure, see Docker documentation.
    Note: When you obtain third party software or services, it is your responsibility to ensure you understand the license terms associated with such third software or services and comply with such terms.
  • From the TIBCO eDelivery website, download the .zip file for Hawk® Microagent for TIBCO BusinessWorks Container Edition. Extract the .zip file to get the following JAR files:
    • com.tibco.hawk.microagent.bwce_<version>.jar
    • com.tibco.hawk.tcp.ami_<version>.jar
  • From the TIBCO eDelivery website, download and install TIBCO BusinessWorks Container Edition. For information about TIBCO BusinessWorks Container Edition installation, see the TIBCO BusinessWorks Container Edition documentation.

Procedure

  1. Create a base Docker image of TIBCO BusinessWorks Container Edition. For details, see the TIBCO BusinessWorks Container Edition documentation.
  2. Create a Docker file with the following content in the temporary directory where you extracted the microagent JAR files. This Docker file copies the extracted JAR files to the TIBCO BusinessWorks CE base Docker image.
    FROM tibco/bwce:v2.4.2
    COPY com.tibco.hawk.microagent.bwce_<version>.jar /resources/addons/jars
    COPY com.tibco.hawk.tcp.ami_<version>.jar /resources/addons/jars
    COPY <your_application>.ear /bwapp.ear
  3. To build the Docker image, run the following command:
    docker build -t <TAG NAME> .

    Example: docker build -t hkbwce:2.0 .

  4. To verify whether the Docker image is successfully created, run the following command:
    docker images

Result

The newly created Docker image is displayed in the list of Docker images.