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
  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 write permissions on the folder which contains custom feature DAA.

  2. 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 -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.