diff --git a/Dockerfile b/Dockerfile index 19cca5b..bf530dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS builder LABEL maintainer="nekohasekai " COPY . /go/src/github.com/sagernet/serenity WORKDIR /go/src/github.com/sagernet/serenity diff --git a/docs/installation/build-from-source.md b/docs/installation/build-from-source.md index b409fc0..5cd3ee0 100644 --- a/docs/installation/build-from-source.md +++ b/docs/installation/build-from-source.md @@ -6,7 +6,7 @@ icon: material/file-code ## :material-graph: Requirements -* Go 1.21.x +* Go 1.23.x You can download and install Go from: https://go.dev/doc/install, latest version is recommended. diff --git a/docs/installation/build-from-source.zh.md b/docs/installation/build-from-source.zh.md index c03ae6c..18134c2 100644 --- a/docs/installation/build-from-source.zh.md +++ b/docs/installation/build-from-source.zh.md @@ -6,7 +6,7 @@ icon: material/file-code ## :material-graph: 要求 -* Go 1.21.x +* Go 1.23.x 您可以从 https://go.dev/doc/install 下载并安装 Go,推荐使用最新版本。