diff --git a/Dockerfile b/Dockerfile index c7d0bb6..59da360 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM registry.cn-chengdu.aliyuncs.com/go_ls/go-zero:v1 AS builder LABEL stage=gobuilder -ENV CGO_ENABLED 0 +ENV CGO_ENABLED 1 ENV GOPROXY https://goproxy.cn,direct WORKDIR /src