Adding the Microagent JAR files to the TIBCO BusinessWorks Container Edition Docker Image
This section explains the procedure to add the microagent JAR files to the TIBCO BusinessWorks Container Edition Docker image.
Before you begin
- 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-party 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
- Create a base Docker image of TIBCO BusinessWorks Container Edition. For details, see the TIBCO BusinessWorks Container Edition documentation.
- 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 Container Edition base Docker image.
FROM tibco/bwce:<tag> 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
<tag>:
replace this with the tag that was used to create the TIBCO BusinessWorks Container Edition Docker image in step 1. - To build the Docker image, run the following command:
docker build -t <TAG NAME> .
For example
docker build -t hkbwce:2.1 .
- To verify whether the Docker image is successfully created, run the following command:
docker images
ResultThe newly created Docker image is displayed in the list of Docker images.