From 3b2d8db991c00aad5ac203df8788fdc841033172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bojan=20=C4=8Cekrli=C4=87?= Date: Sat, 1 Mar 2025 08:07:48 +0100 Subject: [PATCH] Fix: Remove python pre-installation as SASL building fails in that case --- build-scripts/postfix-install.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build-scripts/postfix-install.sh b/build-scripts/postfix-install.sh index 9644fe4..4c0c048 100644 --- a/build-scripts/postfix-install.sh +++ b/build-scripts/postfix-install.sh @@ -34,8 +34,6 @@ do_alpine() { musl-utils \ netcat-openbsd \ opendkim-utils \ - python3 \ - py3-pip \ rsyslog \ supervisor \ tzdata @@ -82,15 +80,12 @@ do_ubuntu() { opendkim-tools \ postfix-lmdb \ procps \ - python3 \ - python3-pip \ rsyslog \ sasl2-bin \ supervisor \ tzdata apt-get clean - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* } if [ -f /etc/alpine-release ]; then @@ -99,13 +94,6 @@ else do_ubuntu fi -# masl is needed for the sasl-xoauth2-tool. -PIP=pip -if command -v pip3 > /dev/null 2>&1; then - PIP=pip3 -fi -$PIP install --break-system-packages msal - # Some services (eg. cron) will complain if this file does not exists, even if it's empty. # The file is usually generated by update-locales, which is ran automatically when you do # `apt-get install locales`. So instead of adding another package, which at the moment we