mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Set CAP_NET_BIND_SERVICE to Python 3.12 in Dockerfile.
This commit is contained in:
parent
57e1dfa7ec
commit
6179638fee
@ -209,7 +209,7 @@ RUN apk add \
|
|||||||
chown pgadmin:root /pgadmin4/config_distro.py && \
|
chown pgadmin:root /pgadmin4/config_distro.py && \
|
||||||
chmod g=u /pgadmin4/config_distro.py && \
|
chmod g=u /pgadmin4/config_distro.py && \
|
||||||
chmod g=u /etc/passwd && \
|
chmod g=u /etc/passwd && \
|
||||||
setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/python3.11 && \
|
setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/python3.12 && \
|
||||||
echo "pgadmin ALL = NOPASSWD: /usr/sbin/postfix start" > /etc/sudoers.d/postfix && \
|
echo "pgadmin ALL = NOPASSWD: /usr/sbin/postfix start" > /etc/sudoers.d/postfix && \
|
||||||
echo "pgadminr ALL = NOPASSWD: /usr/sbin/postfix start" >> /etc/sudoers.d/postfix
|
echo "pgadminr ALL = NOPASSWD: /usr/sbin/postfix start" >> /etc/sudoers.d/postfix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user