diff --git a/Dockerfile b/Dockerfile index b154ee3..f09eac2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ -FROM golang:1.18 as golang +FROM golang:1.23 as golang ENV GO111MODULE=on \ - CGO_ENABLED=1 \ - GOPROXY=https://goproxy.cn,direct + CGO_ENABLED=1 WORKDIR /build ADD /code /build diff --git a/code/go.mod b/code/go.mod index 5b9ea12..8760f5a 100644 --- a/code/go.mod +++ b/code/go.mod @@ -1,6 +1,6 @@ module start-feishubot -go 1.18 +go 1.23 require github.com/larksuite/oapi-sdk-go/v3 v3.0.14