This allows proper development and Docker build on macOS or Windows as well as version-controlled development environment, Go binaries are target platform specific.
I didn't update Travis release pipeline, personally I'd use this multi-stage Docker build as a Travis build but it's up to you 🙃
This allows proper development and Docker build on macOS or Windows as well as version-controlled development environment, Go binaries are target platform specific.
I didn't update Travis release pipeline, personally I'd use this multi-stage Docker build as a Travis build but it's up to you 🙃
Docs: https://docs.docker.com/develop/develop-images/multistage-build/