feat(consent): add privacy settings and scoped revocation flow
This commit is contained in:
1 parent
b2322bc178
commit
3ab6bd91a3
19 files changed
+1868
-8
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# This image is for local registration E2E only. The release path uses
|
||||
# This image is for local browser E2E only. The release path uses
|
||||
# Dockerfile and never enables the e2e Go build tag.
|
||||
ARG GO_IMAGE=golang:1.26.8-alpine
|
||||
ARG RUNTIME_IMAGE=gcr.io/distroless/static-debian12:nonroot
|
||||
@@ -13,6 +13,7 @@ RUN go mod download
|
||||
|
||||
COPY . ./
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/app ./cmd/app
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/consent-fixture ./cmd/consent-fixture
|
||||
|
||||
FROM ${RUNTIME_IMAGE}
|
||||
|
||||
@@ -21,6 +22,7 @@ LABEL org.opencontainers.image.title="Lincodex local E2E backend" \
|
||||
|
||||
WORKDIR /
|
||||
COPY --from=build /out/app /app
|
||||
COPY --from=build /out/consent-fixture /consent-fixture
|
||||
EXPOSE 8080 9090
|
||||
USER nonroot:nonroot
|
||||
ENTRYPOINT ["/app"]
|
||||
Reference in new issue
Block a user