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 Cloud Software Group, Inc.
    ADD tibco.bwce.sample.core.hystrix.application_1.0.0.ear /
    EXPOSE 8080
    
  4. Execute the following command on the docker terminal to generate the application image.
    docker build -t bwce-hystrix.app .