From 6fa6b0bba3bc180979eccda6c8471592b2957863 Mon Sep 17 00:00:00 2001 From: Sagi Cohen Date: Mon, 11 May 2026 09:31:18 +0300 Subject: [PATCH] fix(docker): add USER root before apk install and drop back to USER orca before entrypoint --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index acc1e59..b27f8c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM ghcr.io/orcasecurity/orca-cli:1 +USER root + RUN apk --no-cache --update add bash nodejs npm sqlite sqlite-dev WORKDIR /app @@ -14,5 +16,6 @@ WORKDIR / COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh +USER orca ENTRYPOINT ["/entrypoint.sh"]