mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
go 1.26 (#10797)
This commit is contained in:
1 parent
e383ee47cb
commit
1bcd55eba2
31 files changed
+48
-48
No files matched your search
@@ -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.25-bookworm
|
||||
FROM --platform=linux/amd64 golang:1.26-bookworm
|
||||
|
||||
ARG FOUNDATIONDB_VERSION=7.4.5
|
||||
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
||||
@@ -43,7 +43,7 @@ WORKDIR /build
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Using Go 1.24 to match project requirements
|
||||
# Using Go 1.26 to match project requirements
|
||||
|
||||
# Download dependencies (using versions from go.mod for deterministic builds)
|
||||
RUN go mod download
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64
|
||||
FROM --platform=linux/arm64 golang:1.25-bookworm AS builder
|
||||
FROM --platform=linux/arm64 golang:1.26-bookworm AS builder
|
||||
|
||||
ARG FOUNDATIONDB_VERSION=7.4.5
|
||||
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Test environment with Go and FoundationDB support
|
||||
FROM golang:1.25-bookworm
|
||||
FROM golang:1.26-bookworm
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
||||
Reference in new issue
Block a user