Adding Custom Features to Builder Image

Before You Begin

Package a custom feature as DAA. You can get custom feature DAA by using one of the following ways:

  • You can extract custom feature DAA from ActiveMatrix Service Grid 3.x setup by using Application Extractor. For more information, see "Application Extractor Tool" section inApplication Extractor Tool.

    OR

  • To generate JDBC driver DAA from TIBCO ActiveMatrix Business Studio, see Generating JDBC Driver DAA.
    Procedure
  1. 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 and write permissions on the folder which contains custom feature DAA.
  2. Navigate to amsgce-runtime-<version>/runtime/build/s2i.
  3. Specify the location of folder containing custom feature when building base image by using the option:

    -c | --custom_feature

    Example:

    ./build_amxce_s2i --image_tag "amxce_builder:1.0" --custom_feature  "/path/to/Custom Feature folder"
    Note: File or folder location specified in -cf option must not be inside amsgce-runtime-<version>/runtime folder.
    Note: You must not copy anything in the amsgce-runtime-<version>/runtime/application folder. The runtime/application folder 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.