We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello, 有留意到你有follow我的github, 感謝一下
我看到 https://github.com/Kuri-su/KBlog/blob/master/articles/origin/docker-image-crop-note.md 不禁想吐個槽, 我有印象golang可以static compile成一個binary, 那麼docker image可以from scratch只丟binary進去... 想要再瘦一點可以這麼試試看
不過要同時跑多個docker image這樣未必好了, 因為背後的library可以用同一個image share...
The text was updated successfully, but these errors were encountered:
啊抱歉...刚刚才看到....
是的, 使用 scratch 镜像 可以更小, 相比 Alpine 省去了更多, 之前有在别的 blog看到这个技巧, 一直没尝试 😂 , 晚点尝试一下 scratch 镜像, 补充一下 博客 XD,
虽然其实在工程上, 其实削减到 只剩 Alpine 已经基本够了2333, 保留 Apk 的软件管理, 在需要调试的时候, 可以进容器临时安装 curl /netstat 命令临时调试. 也保有了 shell, 另外也不需要处理静态链接问题, 总而言之算是 在实际开发的过程上少了很多事吧 23333
不过极致还是得追求的2333 说不定什么时候就用上了 XD 😝
Sorry, something went wrong.
Kuri-su
No branches or pull requests
hello, 有留意到你有follow我的github, 感謝一下
我看到 https://github.com/Kuri-su/KBlog/blob/master/articles/origin/docker-image-crop-note.md 不禁想吐個槽, 我有印象golang可以static compile成一個binary, 那麼docker image可以from scratch只丟binary進去... 想要再瘦一點可以這麼試試看
不過要同時跑多個docker image這樣未必好了, 因為背後的library可以用同一個image share...
The text was updated successfully, but these errors were encountered: