I would like to create a docker for our nexus
instance with the correct repositories, proxies etc already created.
Inspired by this question I started using the script API to configure my repositories. The repositories configured through this API don't work like the ones configured manually though (how sad; especially if you imagine the trouble I went through to get the configuration done with the non-documented script API...). I have already filed a bug therefore if you really want to know the details: https://issues.sonatype.org/browse/NEXUS-19891
Now my question: is there another way to configure the repositories non-interactively?
For jenkins
it is possible to put some default configuration in /usr/share/jenkins/ref
which will then be used only at the first startup; to give you an initial configuration. I was wondering if something similar exists for nexus
? Or some other way that I don't know about?