From 2870a4a7a5baddaa016a67bd4a8e03b019b901fb Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 21 May 2023 10:47:06 -0500 Subject: [PATCH] update --- scripts/golang-build-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/golang-build-api.sh b/scripts/golang-build-api.sh index 5eb7249..7fa0c84 100644 --- a/scripts/golang-build-api.sh +++ b/scripts/golang-build-api.sh @@ -10,4 +10,4 @@ go install go install github.com/swaggo/swag/cmd/swag@v1.8.12 swag init -go build -o ./output/main . \ No newline at end of file +CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main . \ No newline at end of file