From 1492b474cd1e5d4652ae4e787042d701138141aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 16 Nov 2024 20:29:07 +0800 Subject: [PATCH] Fix docker build --- Dockerfile | 2 +- docs/installation/build-from-source.md | 2 +- docs/installation/build-from-source.zh.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,推荐使用最新版本。