From 3734a6f96d9340927b04ebde91995188c5c9b34b Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Fri, 11 Oct 2024 08:02:33 -0400 Subject: [PATCH] fix: agent pod is not starting because the image is running as root (#203) Signed-off-by: Mike Ng --- Dockerfile.agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.agent b/Dockerfile.agent index 2fae430..b5d847d 100644 --- a/Dockerfile.agent +++ b/Dockerfile.agent @@ -6,5 +6,5 @@ RUN make agent FROM docker.io/library/alpine:latest COPY --from=builder /src/dist/argocd-agent-agent /bin/argocd-agent-agent - +USER 999 ENTRYPOINT ["/bin/argocd-agent-agent"]