From d4df38b1306ef81ea2fc93eb98899d33a52ab736 Mon Sep 17 00:00:00 2001 From: whatwewant Date: Sat, 8 Apr 2023 00:52:36 +0900 Subject: [PATCH] ci: disabe CGO_ENABLED --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 717d281..c5e9875 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN go mod download COPY . . -RUN GOOS=linux \ +RUN CGO_ENABLED=0 \ + GOOS=linux \ GOARCH=amd64 \ go build \ -trimpath \ @@ -19,8 +20,8 @@ RUN GOOS=linux \ -v -o chatgpt-for-chatbot-feishu # Server -# FROM whatwewant/go:v1.20-1 -FROM whatwewant/zmicro:v1 +FROM whatwewant/go:v1.20-1 +# FROM whatwewant/zmicro:v1 LABEL MAINTAINER="Zero"