chore: update Go version in Dockerfiles to 1.25.5 for improved compatibility and performance

This commit is contained in:
keven1024
2026-03-01 23:44:02 +08:00
parent 64126e7c4c
commit 75c269b60e
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ FROM front-base AS front-deps
RUN apk add --no-cache gcompat
WORKDIR /app
COPY . .
RUN corepack enable pnpm && pnpm i && pnpm --filter=015-front deploy dist
RUN corepack enable pnpm && pnpm i && pnpm --filter=015-front deploy dist --legacy
FROM front-base AS front-builder
@@ -13,7 +13,7 @@ WORKDIR /app
COPY --from=front-deps /app/dist/ .
RUN corepack enable pnpm && pnpm build
FROM golang:1.24.3 AS backend-builder
FROM golang:1.25.5 AS backend-builder
WORKDIR /app
# Download Go modules
COPY backend/go.mod backend/go.sum ./

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM golang:1.24.3 AS builder
FROM golang:1.25.5 AS builder
# Set destination for COPY
WORKDIR /app

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM golang:1.24.3 AS builder
FROM golang:1.25.5 AS builder
# Set destination for COPY
WORKDIR /app