Building the Application Image

    Procedure
  1. Copy the Dockerfile from the samples directory to the location where you placed the EAR file.
  2. From the docker terminal navigate to the folder where the EAR and Dockerfile are stored.
  3. In the Dockerfile, make sure the base image points to the TIBCO BusinessWorks Container Edition runtime base image.
    Also make sure the ear file path and name is correct.
    FROM tibco/bwce:latest
    MAINTAINER TIBCO Software Inc.
    ADD tibco.bwce.sample.core.Resilience4j.application_1.0.0.ear /
    EXPOSE 8080
    
  4. Run the following command on the docker terminal to generate the application image.
    docker build -t bwce-Resilience4j.app .