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