TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dockerfiles look deterministic, but they are not

2 点作者 janjongboom大约 1 年前

1 comment

janjongboom大约 1 年前
Apologies for editorializing the title a bit :-)<p>Reading through the comments in <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39720007">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39720007</a> I saw a common misconception pop up again: Dockerfiles are not deterministic. But they _look_ like they are, and even are for a while: Build a Dockerfile on your local machine; then build it again =&gt; most likely exactly the same container. Stuff starts to break down quickly though; so I did this writeup some time ago that should be informative for the wider community.