I am trying to compile a maven project in a docker container. I need to copy a file called settings.xml in to folder named .m2 each time I run mvn.
Example: mkdir /home/clarive/.m2 && cp /clarive/mgnl/repo/mgnl-parent-ie/settings.xml
How I can do this in a more efficient way? Is there a way I define a persistant volume in clarive rulebook so I don't need to copy files each time?