Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.6.1 |
For the Linux build, the binaries are loaded with a wget command, when building the application image.
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
https://releases.hashicorp.com/consul/1.6.1/consul_1.6.1_linux_amd64.zip
The error was reported when required binaries were not loaded.
This can be caused by:
=================
1. Internet connection was not available, when build the image.
2. wget package was not installed during build process.
3.Missed to add parameter "--gv-providers consul" during image creation
Sample command to create the image (Windows):
set WORKHOME=D:\BE\dockerBE561\dockerscripts
cd %WORKHOME%\bin
build_app_image.bat -l %WORKHOME%\installfiles -a %WORKHOME%\FDAppFiles -r fd:latest --gv-providers consul
Solution:
========
- Download files
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
https://releases.hashicorp.com/consul/1.6.1/consul_1.6.1_linux_amd64.zip
- Unzip consul_1.6.1_linux_amd64.zip
- Rename "jq-linux64" to "jq"
- Copy both files to <TIBCO_dockerscripts_home>/gvproviders/consul
- Recreate the image (build_app_image)
Note:
To validate that binaries are added to the BE container, start the container with "bash", cd to gvproviders/consul and check if binaries jq and consul are available.
e.g.:
set DOCKIMAGE=fd:latest
docker run -it %DOCKIMAGE% bash