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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Docker Zen: Achieving True Minimalism with “Distroless” Images

2 点作者 clockworksoul将近 5 年前

1 comment

memexy将近 5 年前
How are runtime dependencies handled? If the artefacts are self contained then I can see why this would work but how does it work when the artefacts are not self-contained and have shared objects that they link to? How are these dependencies added to the &quot;distroless&quot; container filesystem to avoid runtime crashes because of missing dependencies?<p>Here&#x27;s a concrete example, when compiling ruby from source we need several libraries: `autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev`. How would I add `zlib` to the distroless image?
评论 #23527701 未加载