add release configs

This commit is contained in:
2026-02-12 18:04:36 +03:00
parent ccabeee1f1
commit a844ccfc88
3 changed files with 116 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM golang:1.26.0-alpine AS build
WORKDIR /src
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/remembos ./cmd/remembos
FROM gcr.io/distroless/static:nonroot
COPY --from=build /out/remembos /remembos
USER nonroot:nonroot
ENTRYPOINT ["/remembos"]