Files
Moritz "WanzenBug" Wanzenböck a6c85ea58c Use distroless/static image for webhook
The webhook image needlessly used the distroless image containing glibc.
The webhook server is a static binary, so it can be packaged using the
distroless/static image like the other components.
2021-07-12 14:41:05 +02:00

8 lines
257 B
Docker

FROM gcr.io/distroless/static:latest
LABEL maintainers="Kubernetes Authors"
LABEL description="Snapshot Validation Webhook"
ARG binary=./bin/snapshot-validation-webhook
COPY ${binary} snapshot-validation-webhook
ENTRYPOINT ["/snapshot-validation-webhook"]