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
ADD bwce-rest-bookstore-app.ear /EXPOSE 8080
-
Type in below command on the docker terminal to generate the application image.
docker build -t bwce-rest-bookstore-app.
Copyright © Cloud Software Group, Inc. All rights reserved.