From 6f81c4e2be8f8eda91cee0ba37a9fc73309ae2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDilvinas=20Urbonas?= Date: Tue, 31 Oct 2023 14:40:32 +0200 Subject: [PATCH] chore: switch to non-root image (#143) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a3e5304..d58cb9b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM gcr.io/distroless/static-debian11 +FROM gcr.io/distroless/static-debian11:nonroot ARG TARGETARCH COPY bin/castai-agent-$TARGETARCH /usr/local/bin/castai-agent -CMD ["castai-agent"] \ No newline at end of file +CMD ["castai-agent"]