I am currently pursuing an online microservice course where I deploy small application apps to docker containers. The long and ugly command line for creating binaries is as follows:
go build --tags netgo --ldflags '-extldflags "-lm -lstdc++ -static"'
so far i just used go install to compile my go application.
Can someone explain this command to me?
command-line compilation go
Adrian krebs
source share