Currently, a custom tomcat.xml is present and used to replace the default tomcat.xml in the image - even though we only want to add a single connector for SSL @ 8443, we carry the whole file. This has multiple downsides:
should we upgrade to a newer image at some point, the defaults might look different
when used in docker with another context (root), the tomcat.xml cannot be found (we would have to create an ARG for its path or define a base-path ARG
Feature
Attempt to change to dockerfile so that the connector addition is done in code, not via external file.
Background
Currently, a custom
tomcat.xml
is present and used to replace the defaulttomcat.xml
in the image - even though we only want to add a single connector for SSL @ 8443, we carry the whole file. This has multiple downsides:tomcat.xml
cannot be found (we would have to create an ARG for its path or define a base-path ARGFeature
Attempt to change to dockerfile so that the connector addition is done in code, not via external file.
Proposed Solution [Optional]
Solution Ideas:
sed