Go Tidbit: Retain Cache to Speed up Go Builds in Docker

from blog Blog on hjr265.me, | ↗ original
If you are building Go binaries inside a Docker container, you can speed up the builds by retaining the cache that go build creates between builds. This tidbit is especially effective for large projects with several packages. Let’s take one of my Go projects as an example. Toph Platform, the Go project that powers the web application at toph.co...