From 2cb69f09b91c3897b3394123791e1e2a1b5dc82a Mon Sep 17 00:00:00 2001 From: Koren Peretz <62677694+KorenP1@users.noreply.github.com> Date: Fri, 9 May 2025 12:54:42 +0300 Subject: [PATCH] Update the Dockerfile to use UID 5050 instead of the pgadmin user to prevent Kubernetes deployments from failing when securityContext.runAsNonRoot is set to true without specifying securityContext.runAsUser. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aa135edcd..0a31456a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -222,7 +222,7 @@ RUN apk add --no-cache \ echo "pgadmin ALL = NOPASSWD: /usr/sbin/postfix start" > /etc/sudoers.d/postfix && \ echo "pgadminr ALL = NOPASSWD: /usr/sbin/postfix start" >> /etc/sudoers.d/postfix -USER pgadmin +USER 5050 # Finish up VOLUME /var/lib/pgadmin