Protect Delamain trip versions and package exports

This commit is contained in:
takuya committed 2026-11-29 13:00:36 +03:00
1 parent 13f936bee9
commit 2a9632774d
5 files changed
+187 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
FROM golang:1.27.4-alpine AS build
WORKDIR /src
COPY go.mod main.go ./
RUN CGO_ENABLED=0 go build -trimpath -o /api-guard .
FROM scratch
COPY --from=build /api-guard /api-guard
USER 65532:65532
ENTRYPOINT ["/api-guard"]