Files
kubemirror/Dockerfile.goreleaser
T
2025-12-25 22:10:57 +00:00

13 lines
253 B
Docker

# Runtime stage - using distroless for minimal attack surface
FROM gcr.io/distroless/static:nonroot
WORKDIR /
# Copy the binary from goreleaser build
COPY kubemirror /kubemirror
# Use nonroot user (65532)
USER 65532:65532
ENTRYPOINT ["/kubemirror"]