Camunda Wildfly Docker Image add license.txt

Hi,

I use camunda wildfly docker image and the goal is to add the license.txt during build pipeline.

The documentaion shows several methods to add the license.txt. I don’t use spring so i decided to use the “home-dir”-method.

The docker image user “camunda” does not have a home-dir by default and creating it in the dockerfile also does not solve the problem.

Does anyone have an idea how to automatically add the license.txt to the docker image during build?

Thank you.