diff --git a/Dockerfile b/Dockerfile index 8f5c697e1..2ecf60a70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ ARG GOOS FROM golang:1.21 AS builder ARG GO111MODULE=on -ARG GOPROXY=https://goproxy.cn,direct +ARG GOPROXY=https://goproxy.io,direct WORKDIR /openim/openim-chat diff --git a/build/images/api-admin/Dockerfile b/build/images/api-admin/Dockerfile index 6d7b713d2..6da6be2bc 100644 --- a/build/images/api-admin/Dockerfile +++ b/build/images/api-admin/Dockerfile @@ -19,10 +19,10 @@ ARG GOARCH ARG GOOS -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder ARG GO111MODULE=on -ARG GOPROXY=https://goproxy.cn,direct +ARG GOPROXY=https://goproxy.io,direct WORKDIR /openim/openim-chat diff --git a/build/images/api-chat/Dockerfile b/build/images/api-chat/Dockerfile index 3a06d51e8..3fb734fc9 100644 --- a/build/images/api-chat/Dockerfile +++ b/build/images/api-chat/Dockerfile @@ -19,10 +19,10 @@ ARG GOARCH ARG GOOS -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder ARG GO111MODULE=on -ARG GOPROXY=https://goproxy.cn,direct +ARG GOPROXY=https://goproxy.io,direct WORKDIR /openim/openim-chat diff --git a/build/images/rpc-admin/Dockerfile b/build/images/rpc-admin/Dockerfile index 736e21227..639d6c8d3 100644 --- a/build/images/rpc-admin/Dockerfile +++ b/build/images/rpc-admin/Dockerfile @@ -19,10 +19,10 @@ ARG GOARCH ARG GOOS -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder ARG GO111MODULE=on -ARG GOPROXY=https://goproxy.cn,direct +ARG GOPROXY=https://goproxy.io,direct WORKDIR /openim/openim-chat diff --git a/build/images/rpc-chat/Dockerfile b/build/images/rpc-chat/Dockerfile index e9ffa383f..4c602cf11 100644 --- a/build/images/rpc-chat/Dockerfile +++ b/build/images/rpc-chat/Dockerfile @@ -19,10 +19,10 @@ ARG GOARCH ARG GOOS -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder ARG GO111MODULE=on -ARG GOPROXY=https://goproxy.cn,direct +ARG GOPROXY=https://goproxy.io,direct WORKDIR /openim/openim-chat