maven - sensitive information required for docker build -


for running docker build of java application need sensitive information (a password access nexus maven repository).

what best way make available docker build process?

i thought adding ~/.m2/settings.xml container lies outside of current directory/context , add not able access it.

update: in current setup need credentials run build , create image, not when running container later based on created image

you want mounting volume host container


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -