I use compiled go programs on Alpine Linux by compiling them statically, so that they do not depend on external libraries (which are different on Alpine).
But when I recently tried to run a go “script” directly on an Alpine Linux system, the standard distributed go executable does not run (go 1.13.1). Couldn’t go be compiled statically, so it does not depend on external libraries?
I know there is a go package on Alpine, but I don’t want to install it. I would rather use the go executable from a directory that is shared among several alpine systems (which are actually containers).