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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Creating small docker images

2 点作者 nergal超过 7 年前

1 comment

ahazred8ta超过 7 年前
TL;DR - They started with a 641MB dockerfile based on Ubuntu and Go, and whittled it down to 524KB and then 53.6kB. They took a busybox distro (they suggest Alpine), built with -t minify -squash -compress, and used the UPX minifying packer.<p>English version: <a href="https:&#x2F;&#x2F;translate.google.com&#x2F;translate?hl=en&amp;sl=sv&amp;u=https:&#x2F;&#x2F;www.cygate.se&#x2F;blogg&#x2F;extreme-docker-images-att-optimera-sina-dockers&#x2F;" rel="nofollow">https:&#x2F;&#x2F;translate.google.com&#x2F;translate?hl=en&amp;sl=sv&amp;u=https:&#x2F;...</a>