Skip to content

Commit 2cb69f0

Browse files
authored
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.
1 parent 0403079 commit 2cb69f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ RUN apk add --no-cache \
222222
echo "pgadmin ALL = NOPASSWD: /usr/sbin/postfix start" > /etc/sudoers.d/postfix && \
223223
echo "pgadminr ALL = NOPASSWD: /usr/sbin/postfix start" >> /etc/sudoers.d/postfix
224224

225-
USER pgadmin
225+
USER 5050
226226

227227
# Finish up
228228
VOLUME /var/lib/pgadmin

0 commit comments

Comments
 (0)