From e688f44ced3ffe4dbece7bb0f4f7a8055a1e710e Mon Sep 17 00:00:00 2001 From: QuentinN42 Date: Wed, 28 Aug 2024 15:49:24 +0200 Subject: [PATCH] fix: update dockerfile to handle non root start Signed-off-by: QuentinN42 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 650400a..9ff1a52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,4 +18,4 @@ RUN apk add --no-cache ca-certificates COPY --from=builder /usr/local/bin/prog ./prog -ENTRYPOINT [ "sh", "-c", "update-ca-certificates && ./prog" ] +ENTRYPOINT [ "sh", "-c", "update-ca-certificates || echo 'Unable to update certificates. If you want to add certificates to the agent, please make sure to run it as root.'; ./prog" ]