From be17f9efbec672ca5c890e63bddd9e2032ff0c0d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 23 May 2024 10:11:30 +0200 Subject: [PATCH] Do not run as root, for security reasons --- Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Containerfile b/Containerfile index 194ef1dc..a3de7536 100644 --- a/Containerfile +++ b/Containerfile @@ -11,4 +11,5 @@ FROM scratch COPY --from=build /icinga-kubernetes /icinga-kubernetes +USER 101:101 CMD ["/icinga-kubernetes"]