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.

Creating small docker images

2 pointsby nergalover 7 years ago

1 comment

ahazred8taover 7 years ago
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>