Browse Source

fixed: #699 go build 报错 gcc问题

main
SliverHorn 3 years ago
parent
commit
4922f6dac7
  1. 1
      server/Dockerfile

1
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 .

Loading…
Cancel
Save