From 4922f6dac736844ecc243dd243839acf5ea4f73f Mon Sep 17 00:00:00 2001 From: SliverHorn Date: Tue, 14 Sep 2021 17:41:21 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20#699=20go=20build=20=E6=8A=A5=E9=94=99?= =?UTF-8?q?=20gcc=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Dockerfile b/server/Dockerfile index b7f4b3a4..0e03cd50 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -5,6 +5,7 @@ COPY . . RUN go env -w GO111MODULE=on RUN go env -w GOPROXY=https://goproxy.cn,direct +RUN go env -w CGO_ENABLED=0 RUN go env RUN go mod tidy RUN go build -o server . -- GitLab