Adding Custom Features to Builder Image
Before you begin
Package a custom feature as DAA. For more information about how to generate JDBC driver DAA, see Generating JDBC Driver DAA.
- Procedure
-
To add custom features such as database drivers to all your application Docker images, you must copy one or more custom feature DAA to a folder. Ensure that you have read write permissions on the folder which contains custom feature DAA.
-
Specify the location of folder containing custom feature when building base image by using the option:
-cf | --custom_feature
Example:
./build_amxce_s2i.sh --image_tag "amxce_builder:1.0" --custom_feature "/path/to/Custom Feature folder"
Note: File or folder location specified in-cfoption must not be insideamsgce-runtime-<version>/runtimefolder.Note: You must not copy anything in theamsgce-runtime-<version>/runtime/applicationfolder. Theruntime/applicationfolder is used as a temporary folder and deleted each time you create a new image.
ResultWhen the builder image is created, you can find custom features later in the running container at
/opt/tibco/tibco.home/data/applications/custom_feature.