From 3bee688fcf5846062543f0c0e57dde9d102126e3 Mon Sep 17 00:00:00 2001 From: wood chen Date: Wed, 9 Oct 2024 13:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=20Go=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E8=87=B3=201.23?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ++--- code/go.mod | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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