Affects Version/s: 6.5.8
Fix Version/s: None
Component/s: Docker Image
My current usecase is to modify artifactory logs to output json.
Working with the official docker image I've extended it in the following way.
I've modified the artifactory etc/logback.xml file accordingly
the problem is the inclusion of https://repo.maven.apache.org/maven2/net/logstash/logback/logstash-logback-encoder/5.2/logstash-logback-encoder-5.2.jar in the webapp. I've temporarily solved it by extending the official artifactory docker image, downloading the dependency and running 'jar uf $ARTIFACTORY_HOME/webapps/artifactory.war WEB-INF/lib/logstash-logback-encoder-5.2.jar'
Because of how docker filesystem layers work, this duplicates the artifactory.war file in the resulting image.
it would be nice if we had a way to include a folder or list of jars into the webapp's core classpath, without updating the war file burned into the image