GoLang: Go modules for package management during a multi-stage Docker build
My previous article on multi-stage builds to create Docker images for Go laid the foundation for using an intermediate image as the builder your Go binary. However, this example was intentionally simplistic and did not address package and dependency management. Since the release of Go 1.11, the standard tooling has natively supported the concept of … GoLang: Go modules for package management during a multi-stage Docker build