mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-06-05 22:53:53 +00:00
fix: update Dockerfiles to use Go 1.25 to match go.mod requirement
go.mod requires go >= 1.25.5 but Dockerfiles were using golang:1.23-alpine. Updated all Go-based Dockerfiles to use golang:1.25-alpine. Affected files: - Dockerfile.server - Dockerfile.scanner - Dockerfile.migrate This fixes the build error: "go: go.mod requires go >= 1.25.5 (running go 1.23.12; GOTOOLCHAIN=local)"
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ ARG TARGETOS=linux
|
||||
ARG TARGETARCH=amd64
|
||||
|
||||
# Build stage
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine AS builder
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.25-alpine AS builder
|
||||
|
||||
# Install build dependencies for CGO
|
||||
RUN apk add --no-cache \
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ ARG TARGETOS=linux
|
||||
ARG TARGETARCH=amd64
|
||||
|
||||
# Build stage
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine AS builder
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.25-alpine AS builder
|
||||
|
||||
# Install build dependencies for CGO
|
||||
RUN apk add --no-cache \
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ ARG TARGETOS=linux
|
||||
ARG TARGETARCH=amd64
|
||||
|
||||
# Build stage
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine AS builder
|
||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.25-alpine AS builder
|
||||
|
||||
# Install build dependencies for CGO
|
||||
RUN apk add --no-cache \
|
||||
|
||||
Reference in New Issue
Block a user