arun-gupta / docker-java-multistage

Docker Java Multi-stage Builds
Apache License 2.0
34 stars 40 forks source link

Mounting local Maven Repo #2

Open deelthor opened 7 years ago

deelthor commented 7 years ago

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

arun-gupta commented 7 years ago

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

deelthor commented 7 years ago

Basically yes. :)

pomverte commented 6 years ago

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