Add git to alpine builder for private module fetching

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 14:58:53 -07:00
parent 758aa91bfc
commit abdf10eed8
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache git
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download

View File

@@ -1,5 +1,6 @@
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache git
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download