PracticeDev/study_go/go_docker/README.md

5 lines
89 B
Markdown
Raw Normal View History

2022-12-20 17:31:11 +08:00
```
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o main .
```