TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Node Docker image broken

51 pointsby lingzabout 7 years ago

6 comments

bearjawsabout 7 years ago
Never ever use :latest unless its in your docker-compose DEV file. Try to treat docker images like you would dependencies.<p>We always lock down to specific versions, but we also use a self hosted docker mirror to cache everything anyway.
评论 #16601534 未加载
zackifyabout 7 years ago
This is one of the reasons I never use the latest version of any docker image, so I don’t repeat my constant struggles with npm packages breaking on minor version changes<p>Edit:<p>I see they were overwriting current tags.... well that’s even worse
评论 #16601369 未加载
dozzieabout 7 years ago
Ah yes, this happens from time to time when you use somebody else&#x27;s repositories with somebody else&#x27;s package retention. That&#x27;s why production should only use repositories that change in ways that are predictable to you (OS upstream, your own, and usually nothing else).
评论 #16601792 未加载
评论 #16601273 未加载
pmarreckabout 7 years ago
Was this untested or something?<p>I certainly don&#x27;t see any unit tests as part of the commit that triggered this issue<p>(Yes, even, or perhaps especially, command line commands should be tested, somehow.)
tkoneabout 7 years ago
well i mean it&#x27;s broken if you use yarn. which isn&#x27;t a standard part of node, so like, not really?
评论 #16602137 未加载
jlg23about 7 years ago
How comes a 7 hour old, now closed, bug report on some dead simple bridging tech that abuses tags in their SCM is news?