Go on Scratch: Docker With No OS at All
A Go binary on FROM scratch gives you a 10 MB image with no shell, no libc, no /tmp. Everything that breaks on an empty filesystem, and how to fix each one.
All the articles with the tag "golang".
A Go binary on FROM scratch gives you a 10 MB image with no shell, no libc, no /tmp. Everything that breaks on an empty filesystem, and how to fix each one.
Shell scripts hit a complexity wall. Go gives you a single binary, fast startup, great stdlib, and goreleaser for proper distribution. Here's how to build real CLI tools.