Open jshen28 opened 1 year ago
~I see no reason why not. Did you run into issues when trying to do so?~
Thank you very much for reply, I've updated the description and hope this time it makes more sense.
Keep the gcc = gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
Hello,
I would like to know if it possible to build a static linked binary using go 1.20? For example,
It is working if I build it with
But it is not working if I build it
The stack is ,
For references, go version is
1.20.4
and go-nvml version isv0.12.0-1
The hope to use a static linked binary is to make it easier for a running binary inside container. I am running a two staging image build, the image used for building go binary is different from image where binary is running.
Best,