News for hackers. Stuff that matters.
Re:Node Docker image broken by dozzie on Friday March 16, 2018 @08:31AM (#16600169)
Ah yes, this happens from time to time when you use somebody else's repositories with somebody else's package retention. That's why production should only use repositories that change in ways that are predictable to you (OS upstream, your own, and usually nothing else).
Re:Node Docker image broken by timwis on Friday March 16, 2018 @12:38PM (#16601792)
huh? so like, don't use open source libraries?
Re:Node Docker image broken by dozzie on Friday March 16, 2018 @12:44PM (#16601853)
Are you implying that you cannot use others' code unless you download it from random places from the internets? That the others' code is fundamentally different from your code and thus cannot be hosted from your own repository?
Re:Node Docker image broken by jasonlotito on Friday March 16, 2018 @12:57PM (#16602007)
That's not what the OP is trying to say, though they have a hard time coming out and saying it, and their reply to you doesn't help matters.

Instead, what they are saying is that you should 1) use a specific version, and 2) host that version in a location you control. This way, updates don't impact your build just because you clamp to the latest (which is a moving target). Also, if they happen to rerelease a tag which worked for a previous build you made and now doesn't, you are still pulling in the same thing.

Basically, if you depend on something, host it yourself. Otherwise, you are asking to be bit by this.

Re:Node Docker image broken by derefr on Friday March 16, 2018 @02:05PM (#16602643)
> host that version in a location you control

I don’t see how this is implied or required by what the GP said. Lockfiles exist; docker-image and OS package hash-refs exist. Heck, nix exists. Getting what you expected to get is a solved problem, and does not require “host[ing] it yourself.”

Now, availability of your deployment might require hosting it yourself. (Though more often your availability figures will be far worse than those of Docker Hub or launchpad.net.)

Re:Node Docker image broken by nucleardog on Friday March 16, 2018 @03:46PM (#16603501)
I mean, up until last year someone could permanently depublish entire packages from certain package managers without restriction. No amount of hash-refs are going to ensure you have the right package if it just doesn't exist anymore.

I think availability is exactly what dozzie was getting at by specifying 'production'.

You want your production systems to be robust, not reliable at the whims of half a dozen different ecosystems all with different policies, procedures, humans, support agreements, etc. (This is without even touching on infrastructure availability.)

Re:Node Docker image broken by blablabla123 on Friday March 16, 2018 @11:23AM (#16601273)
Amen.