mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-06 16:36:51 +00:00
Bumps the docker group with 1 update: golang. Updates `golang` from 1.21 to 1.22 --- updated-dependencies: - dependency-name: golang 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>
17 lines
368 B
Docker
17 lines
368 B
Docker
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
|
|
ENV CGO_ENABLED=0
|
|
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"]
|