fixed: #699 go build 报错 gcc问题
This commit is contained in:
@@ -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 .
|
||||
|
Reference in New Issue
Block a user