-
Enhancement
-
Resolution: Not a Bug
-
Major
-
None
-
EAP72 7.2.2.GA
-
None
Description of problem:
Customer is requesting for an enhancement to the base image to include certain env variables as in
https://github.com/jboss-openshift/openshift-examples/tree/master/custom-install-directories
For example, they are adding a script to extend the java keystore:
Add root certificate to java keystore
ADD certificates /usr/local/s2i/platform/certificates RUN printf 'CONFIGURE_SCRIPTS=("${CONFIGURE_SCRIPTS[@]}" "/usr/local/s2i/platform/certificates/certificate.sh")\n' >> /opt/eap/bin/launch/openshift-common.sh
This is relying on the script to be always at the same place. If the script is moved in an update - all their images will break since the customization will not take that in to count. Using an env variable similar to CUSTOM_INSTALL_DIRECTORIES for BuildConfigs would allow them to extend the configuration in base-image without having to rely on a specific script being in a specific directory.
Please let us know if this could be considered.