At Cloudflare we like Go. We use it in many in-house software projects as well as parts of bigger pipeline systems. But can we take Go to the next level and use it as a scripting language for our favourite operating system, Linux? gopher and tux gopher image CC BY 3.0 Renee French Tux image CC0 BY OpenClipart-Vectors
第一部分着重介绍多阶段构建(multi-stage builds),因为这是镜像精简之路至关重要的一环。在这部分内容中,我会解释静态链接和动态链接的区别,它们对镜像带来的影响,以及如何避免那些不好的影响。中间会穿插一部分对 Alpine 镜像的介绍。链接:两个奇技淫巧,将 Docker 镜像体积减小 99%[1]
https://github.com/go-chi/chi https://learnku.com/go/t/39490 https://learnku.com/articles/44827 https://dev.to/wagslane/sorting-in-go-don-t-reinvent-this-wheel-29bg https://rafallorenz.com/go/go-error-stack-trace/ https://github.com/concourse/concourse https://pkg.go.dev/gorm.io/gorm?tab=doc