Products | Versions |
---|---|
DO NOT USE! - TIBCO BusinessEvents - Enterprise Edition | 6.1.0 |
When attempting to run the 'mvn build-app-image' goal to build a Docker image for a BE 6.1 project, the following error occurs:
[INFO] --- be-maven-plugin:6.1.0:buildAppImage (default-buildAppImage) @ FraudDetection ---
java.io.IOException: Cannot run program "C:/tibco/be/6.1/cloud/docker/frominstall/build_app_image.bat" (in directory "C:\tibco\be\6.1\cloud\docker\frominstall"): CreateProcess error=2, The system cannot find the file specified
This is due to a defect in the BE 6.1 maven plugin, where it is looking in the wrong place for the build_image script.
cd %BE_HOME%\cloud\docker
build_image.bat -i "app" -a "<path to artifacts>" -s "C:\TIBCO\be\6.1" -t "fdapp"
After the build completes, you may then run it from your Docker Desktop application, or from the command line:
docker run -d --name fdapp -p 8108:8108 fdapp:latest