feat: update go version=1.25

This commit is contained in:
engigu
2026-02-10 14:22:58 +08:00
parent b855400cec
commit 937ad40ea0
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ RUN VERSION_VAL="${VERSION:-dev-$(TZ=Asia/Shanghai date '+%Y%m%d%H%M%S')}" && \
# ================================
# Stage 2: Build backend
# ================================
FROM --platform=$BUILDPLATFORM golang:1.24 AS backend-builder
FROM --platform=$BUILDPLATFORM golang:1.25 AS backend-builder
ARG TARGETOS
ARG TARGETARCH
@@ -66,7 +66,7 @@ RUN VERSION_VAL=$(cat /build-info/version.txt) && \
# ================================
# Stage 3: Build Agent (all platforms)
# ================================
FROM --platform=$BUILDPLATFORM golang:1.24 AS agent-builder
FROM --platform=$BUILDPLATFORM golang:1.25 AS agent-builder
WORKDIR /app
+1 -3
View File
@@ -1,8 +1,6 @@
module github.com/engigu/baihu-panel
go 1.24.0
toolchain go1.24.7
go 1.25.0
require (
github.com/creack/pty v1.1.24