8 lines
156 B
Plaintext
8 lines
156 B
Plaintext
|
Build hello go binary first
|
||
|
|
||
|
go build -tags netgo -ldflags "-extldflags '-lm -lstdc++ -static'" .
|
||
|
|
||
|
Then build docker image
|
||
|
|
||
|
docker build -t hello .
|