Browse Source
Merge pull request #700 from SliverHorn/sliver_horn_develop
fixed: #699 go build 报错 gcc问题
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
server/Dockerfile
|
@ -5,6 +5,7 @@ COPY . . |
|
|
|
|
|
|
|
|
RUN go env -w GO111MODULE=on |
|
|
RUN go env -w GO111MODULE=on |
|
|
RUN go env -w GOPROXY=https://goproxy.cn,direct |
|
|
RUN go env -w GOPROXY=https://goproxy.cn,direct |
|
|
|
|
|
RUN go env -w CGO_ENABLED=0 |
|
|
RUN go env |
|
|
RUN go env |
|
|
RUN go mod tidy |
|
|
RUN go mod tidy |
|
|
RUN go build -o server . |
|
|
RUN go build -o server . |
|
|