mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-06-09 23:03:49 +00:00
13 lines
253 B
Docker
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"]
|