Re:Truly immutable builds
by ris on Monday October 09, 2017 @03:41AM
(#15432118)
You're assuming that all those repos are still around 5 years later.
[ Parent
| on HN ]
Definitely true.
Not sure I am a fan of having every git repo having a copy of everything over and over and over, for "ecological" reasons... But it's probably the best way to endure that your builds will work.
They are if you mirror the Docker registry. We use Sonatype Nexus and get the added benefit of having our own private Docker, NPM, Maven, etc. repositories on top of automatically caching dependencies we use.
So now we don’t have to worry about them disappearing AND we don’t have to leave the network to get them... assuming we don’t screw up our server.
We own our registry. That's why we have the images for one project. We install from there.
What we don't do yet is storing a pristine a VirtualBox image for another project. We should start doing that because sometimes building those images requires a surprising amount of work. Bitrot, etc.