Get the latest tech news
Building Small Go Containers?
Contribute to randomizedcoder/go_nix_simple development by creating an account on GitHub.
Friends on the Gopher slack suggested the upx might break the build, but I don't see evidence of this on my amd64 machine. Builder: Nix-buildGoModule, Nix-buildGoApplication, Docker-build, Bazel-build, Bazel-build-nix Final base container: Distroless, Scratch Caching: Docker, Athens, Nix, HTTP-cache, No-cache Executable packer: UPX, none Even if you aren't interested in Nix, some top tips for improving container build times for golang:
Or read this on Hacker News