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.
This commit is contained in:
Moritz "WanzenBug" Wanzenböck
2021-07-12 14:41:05 +02:00
parent 049050ad3d
commit a6c85ea58c

View File

@@ -1,4 +1,4 @@
FROM gcr.io/distroless/base:latest
FROM gcr.io/distroless/static:latest
LABEL maintainers="Kubernetes Authors"
LABEL description="Snapshot Validation Webhook"
ARG binary=./bin/snapshot-validation-webhook