From a6c85ea58c388b7fed399d6a46121079b951ac02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=22WanzenBug=22=20Wanzenb=C3=B6ck?= Date: Mon, 12 Jul 2021 14:41:05 +0200 Subject: [PATCH] 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. --- cmd/snapshot-validation-webhook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/snapshot-validation-webhook/Dockerfile b/cmd/snapshot-validation-webhook/Dockerfile index 2091b4ad..68cf7548 100644 --- a/cmd/snapshot-validation-webhook/Dockerfile +++ b/cmd/snapshot-validation-webhook/Dockerfile @@ -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