diff --git a/Dockerfile b/Dockerfile index 519b08e9..0d4203de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6 AS builder +FROM golang:1.27.0@sha256:65b6f280bf050ec5af12716857e8ea8439d694dbba8f31ceeb7630670071f2bb AS builder ARG TARGETOS ARG TARGETARCH # VERSION-01: build-stamped version (internal/version), passed via --build-arg at release time. diff --git a/Dockerfile.pipeline b/Dockerfile.pipeline index fd97d523..fa8cb4ed 100644 --- a/Dockerfile.pipeline +++ b/Dockerfile.pipeline @@ -1,7 +1,7 @@ # Build the kollect-pipeline CLI binary (ADR-0801 pipeline mode). # Same source tree, builder image, and hardening posture as the operator Dockerfile; # only the entrypoint (./cmd/cli vs ./cmd) and runtime base differ. -FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6 AS builder +FROM golang:1.27.0@sha256:65b6f280bf050ec5af12716857e8ea8439d694dbba8f31ceeb7630670071f2bb AS builder ARG TARGETOS ARG TARGETARCH # VERSION-01: build-stamped version (internal/version), passed via --build-arg at release time. @@ -35,7 +35,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -ldflags # git remotes (which shell out to git) are therefore unsupported in this minimal image; go-git over # HTTPS, the local filesystem sink, and the object-store sinks (s3/gcs) all work. ca-certificates # and tzdata ship in the distroless base, so TLS to sink endpoints works out of the box. -FROM gcr.io/distroless/static:nonroot@sha256:f7f8f729987ad0fdf6b05eeeae94b26e6a0f613bdf46feea7fc40f7bd72953e6 +FROM gcr.io/distroless/static:nonroot@sha256:1c2c046bc09ed40fad370b599a0b1ae7987f55b01e247cf27a7c27cd97e5bbc7 WORKDIR / COPY --from=builder /workspace/kollect-pipeline /kollect-pipeline USER 65532:65532