Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

go 1.25

Chris Lu3d9f7f6f81a6
diff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.yml
index 6836140b70..14899d6caf 100644
--- a/.github/workflows/ec-integration-tests.yml
+++ b/.github/workflows/ec-integration-tests.yml
@@ -18,7 +18,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
id: go
- name: Check out code into the Go module directory
diff --git a/.github/workflows/kafka-quicktest.yml b/.github/workflows/kafka-quicktest.yml
index d8ecba9401..ba696d8007 100644
--- a/.github/workflows/kafka-quicktest.yml
+++ b/.github/workflows/kafka-quicktest.yml
@@ -26,7 +26,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
cache-dependency-path: |
**/go.sum
diff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.yml
index 1b4bed5721..684ff07130 100644
--- a/.github/workflows/kafka-tests.yml
+++ b/.github/workflows/kafka-tests.yml
@@ -37,7 +37,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
id: go
- name: Check out code
@@ -82,7 +82,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
id: go
- name: Check out code
@@ -132,7 +132,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
cache-dependency-path: |
**/go.sum
@@ -311,7 +311,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
cache-dependency-path: |
**/go.sum
@@ -473,7 +473,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
cache-dependency-path: |
**/go.sum
@@ -631,7 +631,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
cache-dependency-path: |
**/go.sum
@@ -789,7 +789,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
id: go
- name: Check out code
diff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.yml
index b6a9f5d38e..5009162e73 100644
--- a/.github/workflows/postgres-tests.yml
+++ b/.github/workflows/postgres-tests.yml
@@ -25,7 +25,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
id: go
- name: Check out code
diff --git a/.github/workflows/s3-parquet-tests.yml b/.github/workflows/s3-parquet-tests.yml
index a597ee17b8..9d3289156b 100644
--- a/.github/workflows/s3-parquet-tests.yml
+++ b/.github/workflows/s3-parquet-tests.yml
@@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
- name: Set up Python ${{ matrix.python-version }}
@@ -148,7 +148,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
cache: true
- name: Run Go unit tests
diff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.yml
index 207ec5c854..fe4e5b3c46 100644
--- a/.github/workflows/test-s3-over-https-using-awscli.yml
+++ b/.github/workflows/test-s3-over-https-using-awscli.yml
@@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-go@v6
with:
- go-version: ^1.24
+ go-version: ^1.25
- name: Build SeaweedFS
run: |
diff --git a/docker/Dockerfile.foundationdb_large b/docker/Dockerfile.foundationdb_large
index 6ec702700b..aec40acdc2 100644
--- a/docker/Dockerfile.foundationdb_large
+++ b/docker/Dockerfile.foundationdb_large
@@ -1,4 +1,4 @@
-FROM golang:1.24 AS builder
+FROM golang:1.25 AS builder
RUN apt-get update && \
apt-get install -y build-essential wget ca-certificates && \
diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build
index 80ba3257f7..c1c9a523ef 100644
--- a/docker/Dockerfile.go_build
+++ b/docker/Dockerfile.go_build
@@ -1,4 +1,4 @@
-FROM golang:1.24-alpine as builder
+FROM golang:1.25-alpine AS builder
RUN apk add git g++ fuse
RUN mkdir -p /go/src/github.com/seaweedfs/
ARG BRANCH=${BRANCH:-master}
diff --git a/docker/Dockerfile.rocksdb_dev_env b/docker/Dockerfile.rocksdb_dev_env
index 877fa453c0..20123db640 100644
--- a/docker/Dockerfile.rocksdb_dev_env
+++ b/docker/Dockerfile.rocksdb_dev_env
@@ -1,4 +1,4 @@
-FROM golang:1.24 AS builder
+FROM golang:1.25 AS builder
RUN apt-get update
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
diff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_large
index 1a9e80bf64..bd2744baa5 100644
--- a/docker/Dockerfile.rocksdb_large
+++ b/docker/Dockerfile.rocksdb_large
@@ -1,4 +1,4 @@
-FROM golang:1.24 AS builder
+FROM golang:1.25 AS builder
RUN apt-get update
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
diff --git a/seaweedfs-rdma-sidecar/Dockerfile.sidecar b/seaweedfs-rdma-sidecar/Dockerfile.sidecar
index e9da9a63c6..87bf9b33e0 100644
--- a/seaweedfs-rdma-sidecar/Dockerfile.sidecar
+++ b/seaweedfs-rdma-sidecar/Dockerfile.sidecar
@@ -1,5 +1,5 @@
# Multi-stage build for Go Sidecar
-FROM golang:1.24-alpine AS builder
+FROM golang:1.25-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git ca-certificates tzdata
diff --git a/seaweedfs-rdma-sidecar/Dockerfile.test-client b/seaweedfs-rdma-sidecar/Dockerfile.test-client
index 879b8033a7..8798635ea5 100644
--- a/seaweedfs-rdma-sidecar/Dockerfile.test-client
+++ b/seaweedfs-rdma-sidecar/Dockerfile.test-client
@@ -1,5 +1,5 @@
# Multi-stage build for Test Client
-FROM golang:1.23-alpine AS builder
+FROM golang:1.25-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git ca-certificates tzdata
diff --git a/test/foundationdb/Dockerfile.build b/test/foundationdb/Dockerfile.build
index 9f034591d3..58887acbb9 100644
--- a/test/foundationdb/Dockerfile.build
+++ b/test/foundationdb/Dockerfile.build
@@ -1,6 +1,6 @@
# Simplified single-stage build for SeaweedFS with FoundationDB support
# Force x86_64 platform to use AMD64 FoundationDB packages
-FROM --platform=linux/amd64 golang:1.24-bookworm
+FROM --platform=linux/amd64 golang:1.25-bookworm
ARG FOUNDATIONDB_VERSION=7.4.5
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
diff --git a/test/foundationdb/Dockerfile.build.arm64 b/test/foundationdb/Dockerfile.build.arm64
index bf94625f1c..d62d7eda81 100644
--- a/test/foundationdb/Dockerfile.build.arm64
+++ b/test/foundationdb/Dockerfile.build.arm64
@@ -1,5 +1,5 @@
# Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64
-FROM --platform=linux/arm64 golang:1.24-bookworm AS builder
+FROM --platform=linux/arm64 golang:1.25-bookworm AS builder
ARG FOUNDATIONDB_VERSION=7.4.5
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
diff --git a/test/foundationdb/Dockerfile.test b/test/foundationdb/Dockerfile.test
index a3848321ce..70191f08b5 100644
--- a/test/foundationdb/Dockerfile.test
+++ b/test/foundationdb/Dockerfile.test
@@ -1,5 +1,5 @@
# Test environment with Go and FoundationDB support
-FROM golang:1.24-bookworm
+FROM golang:1.25-bookworm
# Install system dependencies
RUN apt-get update && apt-get install -y \
diff --git a/test/kafka/Dockerfile.kafka-gateway b/test/kafka/Dockerfile.kafka-gateway
index 6e96fa8930..32b3d46631 100644
--- a/test/kafka/Dockerfile.kafka-gateway
+++ b/test/kafka/Dockerfile.kafka-gateway
@@ -1,5 +1,5 @@
# Dockerfile for Kafka Gateway Integration Testing
-FROM golang:1.24-alpine AS builder
+FROM golang:1.25-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
diff --git a/test/kafka/Dockerfile.seaweedfs b/test/kafka/Dockerfile.seaweedfs
index bd2983fe85..ce889e25e4 100644
--- a/test/kafka/Dockerfile.seaweedfs
+++ b/test/kafka/Dockerfile.seaweedfs
@@ -1,5 +1,5 @@
# Dockerfile for building SeaweedFS components from the current workspace
-FROM golang:1.24-alpine AS builder
+FROM golang:1.25-alpine AS builder
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
diff --git a/test/kafka/Dockerfile.test-setup b/test/kafka/Dockerfile.test-setup
index 16652f269f..e4290ecdad 100644
--- a/test/kafka/Dockerfile.test-setup
+++ b/test/kafka/Dockerfile.test-setup
@@ -1,5 +1,5 @@
# Dockerfile for Kafka Integration Test Setup
-FROM golang:1.24-alpine AS builder
+FROM golang:1.25-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git make gcc musl-dev
diff --git a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest b/test/kafka/kafka-client-loadtest/Dockerfile.loadtest
index ccf7e5e162..25aa4ae410 100644
--- a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest
+++ b/test/kafka/kafka-client-loadtest/Dockerfile.loadtest
@@ -2,7 +2,7 @@
# Multi-stage build for cross-platform support
# Stage 1: Builder
-FROM golang:1.24-alpine AS builder
+FROM golang:1.25-alpine AS builder
WORKDIR /app
diff --git a/test/s3/iam/Dockerfile.s3 b/test/s3/iam/Dockerfile.s3
index 36f0ead1f9..52ba670a5e 100644
--- a/test/s3/iam/Dockerfile.s3
+++ b/test/s3/iam/Dockerfile.s3
@@ -1,5 +1,5 @@
# Multi-stage build for SeaweedFS S3 with IAM
-FROM golang:1.23-alpine AS builder
+FROM golang:1.25-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git make curl wget