hub v0.137.0 source + burn-down round 2 in felhom.eu: R-277 R-581 R-600 R-544 R-855 R-134 R-92 R-292 R-599 R-725 R-728 (hub), R-819 R-857 R-555 R-364 R-587 (gates/tools), R-571 R-129 R-124-runbook (docs); 28 rows closed incl. catalog + agent v0.147.0 rows, R-350 merged into R-132, R-888 opened, R-887 mechanism (249 -> 222)
gates / gates (push) Successful in 2m3s
gates / gates (push) Successful in 2m3s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
+6
-3
@@ -1,8 +1,5 @@
|
||||
FROM golang:1.24-alpine AS builder
|
||||
|
||||
ARG VERSION=dev
|
||||
ARG BUILD_TIME=unknown
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY go.mod go.sum* ./
|
||||
@@ -10,6 +7,12 @@ RUN go mod download || true
|
||||
|
||||
COPY . .
|
||||
|
||||
# R-208: the build args are declared HERE, below the module download. An ARG is part of every later RUN's
|
||||
# cache key, so declared above `go mod download` a fresh VERSION re-ran the download on every build
|
||||
# (~440 MB of dead cache each). Pinned by scripts/test_dockerfile_arg_order.py.
|
||||
ARG VERSION=dev
|
||||
ARG BUILD_TIME=unknown
|
||||
|
||||
RUN go mod tidy && \
|
||||
CGO_ENABLED=0 go build \
|
||||
-ldflags "-s -w -X main.Version=${VERSION} -X main.BuildTime=${BUILD_TIME}" \
|
||||
|
||||
Reference in New Issue
Block a user