docker-java-multistage icon indicating copy to clipboard operation
docker-java-multistage copied to clipboard

Mounting local Maven Repo

Open deelthor opened this issue 7 years ago • 3 comments

First thanks for this example. I was just wondering whether you see a possibility to specify an existing local Maven repository which could be used for the build. This way not all artifacts have to be downloaded every time during a build (considering one would have a application with more dependencies). Thanks, Thorsten

deelthor avatar May 11 '17 15:05 deelthor

You mean mounting a volume referring to your local .m2?

arun-gupta avatar May 11 '17 17:05 arun-gupta

Basically yes. :)

deelthor avatar May 12 '17 07:05 deelthor

Yes, that would be helpful since the dependencies might not change that often except for SNAPSHOT

pomverte avatar Jun 16 '18 10:06 pomverte