fix: goreleaser use compiled binaries in release (#138)
This commit is contained in:
8
.docker/Dockerfile-release
Normal file
8
.docker/Dockerfile-release
Normal 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"]
|
Reference in New Issue
Block a user