mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-06 00:17:27 +00:00
Bumps the docker group with 1 update: golang. Updates `golang` from 1.24 to 1.25 --- updated-dependencies: - dependency-name: golang dependency-version: '1.25' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
18 lines
389 B
Docker
18 lines
389 B
Docker
FROM --platform=$BUILDPLATFORM golang:1.25 AS builder
|
|
ENV CGO_ENABLED=0
|
|
ENV GOTOOLCHAIN=auto
|
|
WORKDIR /src
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH make wonderwall
|
|
|
|
FROM gcr.io/distroless/static-debian12:nonroot
|
|
WORKDIR /app
|
|
COPY --from=builder /src/bin/wonderwall /app/wonderwall
|
|
ENTRYPOINT ["/app/wonderwall"]
|