From af901676f5c4c8415d42d0bf9e4929acd5428355 Mon Sep 17 00:00:00 2001 From: Jason Montleon Date: Thu, 14 Nov 2024 16:10:10 -0500 Subject: [PATCH] :bug: Fix running as non-root on vanilla kubernetes Signed-off-by: Jason Montleon --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b85f5a79e..2c6a1cea6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ COPY --from=report /usr/local/static-report /tmp/analysis/report RUN microdnf -y install \ sqlite \ && microdnf -y clean all +RUN echo "hub:x:1001:0:hub:/:/sbin/nologin" >> /etc/passwd ENTRYPOINT ["/usr/local/bin/tackle-hub"] LABEL name="konveyor/tackle2-hub" \