fix: goreleaser use compiled binaries in release (#138)

This commit is contained in:
Jakub Błaszczyk
2023-10-30 11:26:50 +01:00
committed by GitHub
parent 0df31d3f3a
commit 91b139e6f2
6 changed files with 68 additions and 9 deletions

View File

@ -0,0 +1,8 @@
# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY manager .
USER 65532:65532
ENTRYPOINT ["/manager"]