static build

This commit is contained in:
2025-10-21 11:52:48 +02:00
parent c7eb782b88
commit 7a15530855
2 changed files with 3 additions and 1 deletions

2
Makefile Normal file
View File

@@ -0,0 +1,2 @@
all:
CGO_LDFLAGS='-static' go build -tags osusergo,netgo -ldflags "-extldflags=-static" -o io-exporter