From c9920063ddeb471b88d497ec68db73a899c152ea Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Wed, 17 May 2023 12:00:01 +0530 Subject: [PATCH] Use python3.11 instead of python3 as setcap does not work on symlinks --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f950e6cd2..14d868c0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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