FYI I had once started, but never finished, making an opendaylight/nexus Dockerfile on https://github.com/vorburger/Docker/tree/master/opendaylight/nexus - main diff. to https://github.com/sonatype/docker-nexus/blob/master/oss/Dockerfile is OpenJDK instead of Oracle - and I wanted it to include the ODL Nexus pre-configured, ready to go.. Thanh, do you know where in Nexus on the filesystem they store the repo config, to be able to include this in a Docker image?
My goal was to share a local Nexus between two computers, locally. The initial daily re-download of JARs is still there, of course. What do you use this for? What could be sweet would be if we were to share a public one on some VM on this side of the pond... Tx, M. -- Michael Vorburger <[email protected]> | IRC: vorburger @freenode | ~ = http://vorburger.ch On Tue, Jul 12, 2016 at 5:02 PM, Lori Jakab <[email protected]> wrote: > On Tue, Jul 12, 2016 at 9:59 AM, Thanh Ha <[email protected]> > wrote: > >> On 12 July 2016 at 10:14, Lori Jakab <[email protected]> wrote: >> >>> On Tue, Jul 12, 2016 at 8:40 AM, Thanh Ha <[email protected]> >>> wrote: >>> >>> [...] >>> >>> FWIW I use docker locally and setup my own Nexus mirror in docker. It >>>> takes very little time to do and makes local development quite fast in >>>> terms of redownloading things. >>>> >>> >>> Do you have scripts/info to share? I would like something similar, since >>> testing stuff with many small files downloaded across the pond is not too >>> much fun. >>> >> >> Pretty much all I do is run the official docker container here: >> https://hub.docker.com/r/sonatype/nexus/ >> >> There's some instructions on how to setup mirroring here: >> https://wiki.opendaylight.org/view/Infrastructure:Nexus >> >> I only mirror 2 repos. The "public" one for Maven Central + released >> artifacts and the "opendaylight.snapshot" one for your dev artifacts. >> >> Finally update your ~/.m2/settings.xml to use the mirrors. I have on >> occasion run into problems with building from a mirror which I haven't >> figured out why yet. So I keep 2 settings.xml files and symlink them in >> case I need to switch back to the nexus.opendaylight.org host. >> > > Awesome, thanks, I'll try this out. > > -Lori > > >> >> Hope this helps, >> Thanh >> > >
_______________________________________________ Discuss mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/discuss
