Use CGO_ENABLED=0 for static binary

pull/1/head
Jan Dittberner 2 years ago
parent 2affaa2150
commit 0effaaa586

@ -16,7 +16,7 @@ translations: $(TRANSLATIONS) $(GOFILES)
fi
cacert-idp: go.sum $(GOFILES) $(TEMPLATES) translations
go build -o $@ ./cmd/idp.go
CGO_ENABLED=0 go build -o $@ ./cmd/idp.go
clean:
rm -f cacert-idp

Loading…
Cancel
Save