Files
auth0mock/Dockerfile
T
renovate 7735c649cb
Unbound Release / Check Preconditions (push) Successful in 19s
Unbound Release / Create Tag (push) Skipped
auth0mock / build (push) Skipped
Unbound Release / Create Release (push) Successful in 23s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 1m8s
Release / release (push) Successful in 1m31s
chore(deps): update golang:1.26 docker digest to 3aff665 (#381)
2026-07-20 06:05:34 +00:00

24 lines
553 B
Docker

FROM golang:1.26@sha256:3aff6657219a4d9c14e27fb1d8976c49c29fddb70ba835014f477e1c70636647 AS build
WORKDIR /build
ENV CGO_ENABLED=0
ENV GOEXPERIMENT=jsonv2
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /release/service ./cmd/service
FROM gcr.io/distroless/static-debian12@sha256:61b7ccecebc7c474a531717de80a94709d20547cdcdaf740c25876f2a8e38b44
ENV TZ=Europe/Stockholm
ENV AUDIENCE="https://shiny.unbound.se"
COPY --from=build /release/service /service
COPY public /public
EXPOSE 3333
ENTRYPOINT ["/service"]