Fix: Remove python pre-installation as SASL building fails in that case

This commit is contained in:
Bojan Čekrlić 2025-03-01 08:07:48 +01:00
parent 92f514b647
commit 3b2d8db991

View file

@ -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