Files
auth0mock/Dockerfile
T
argoyle 20bd659c63
auth0mock / build (push) Successful in 55s
Release / release (push) Failing after 52s
chore: update import paths and registry refs after move to gitea (#307)
Repo moved from GitLab to Gitea (git.unbound.se). Updates Go module path, all internal Go imports, Renovate registry pkg name, .buildtools.yaml registry block, and Dockerfile (drops obsolete GOPRIVATE + GITLAB_USER/GITLAB_TOKEN).

Reviewed-on: #307
2026-05-04 08:34:23 +00:00

24 lines
553 B
Docker

FROM golang:1.26@sha256:b54cbf583d390341599d7bcbc062425c081105cc5ef6d170ced98ef9d047c716 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:20bc6c0bc4d625a22a8fde3e55f6515709b32055ef8fb9cfbddaa06d1760f838
ENV TZ=Europe/Stockholm
ENV AUDIENCE="https://shiny.unbound.se"
COPY --from=build /release/service /service
COPY public /public
EXPOSE 3333
ENTRYPOINT ["/service"]