From 4049dc8c7f9e6269c529177923983da151aee641 Mon Sep 17 00:00:00 2001 From: shankar0123 Date: Tue, 24 Mar 2026 12:03:36 -0400 Subject: [PATCH] fix: bump Docker Go version from 1.22 to 1.25 to match go.mod go.mod requires go >= 1.25.0 but both Dockerfiles used golang:1.22-alpine, causing `go mod download` to fail during container build. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 2 +- Dockerfile.agent | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5b3634..7426f8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY web/ . RUN npm run build # Stage 2: Build Go binary -FROM golang:1.22-alpine AS builder +FROM golang:1.25-alpine AS builder RUN apk add --no-cache git ca-certificates tzdata diff --git a/Dockerfile.agent b/Dockerfile.agent index a4aeaca..8cb3058 100644 --- a/Dockerfile.agent +++ b/Dockerfile.agent @@ -1,6 +1,6 @@ # Multi-stage build for certctl agent # Stage 1: Build -FROM golang:1.22-alpine AS builder +FROM golang:1.25-alpine AS builder RUN apk add --no-cache git ca-certificates