Use python3.11 instead of python3 as setcap does not work on symlinks

pull/6293/head
Aditya Toshniwal 2023-05-17 12:00:01 +05:30
parent 40b916dc2e
commit c9920063dd
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ RUN apk add \
chown pgadmin:root /pgadmin4/config_distro.py && \
chmod g=u /pgadmin4/config_distro.py && \
chmod g=u /etc/passwd && \
setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/python3 && \
setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/python3.11 && \
echo "pgadmin ALL = NOPASSWD: /usr/sbin/postfix start" > /etc/sudoers.d/postfix && \
echo "pgadminr ALL = NOPASSWD: /usr/sbin/postfix start" >> /etc/sudoers.d/postfix