Building the Application Image
- Procedure
- Copy the Dockerfile from the samples directory to the location where you placed the EAR file.
- From the docker terminal navigate to the folder where the EAR and Dockerfile are stored.
- 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
- Run the following command on the docker terminal to generate the application image.
docker build -t bwce-Resilience4j.app .