Skip to content

Commit 3b2d8db

Browse files
committed
Fix: Remove python pre-installation as SASL building fails in that case
1 parent 92f514b commit 3b2d8db

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

build-scripts/postfix-install.sh

+1-13
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ do_alpine() {
3434
musl-utils \
3535
netcat-openbsd \
3636
opendkim-utils \
37-
python3 \
38-
py3-pip \
3937
rsyslog \
4038
supervisor \
4139
tzdata
@@ -82,15 +80,12 @@ do_ubuntu() {
8280
opendkim-tools \
8381
postfix-lmdb \
8482
procps \
85-
python3 \
86-
python3-pip \
8783
rsyslog \
8884
sasl2-bin \
8985
supervisor \
9086
tzdata
9187
apt-get clean
92-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
93-
88+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
9489
}
9590

9691
if [ -f /etc/alpine-release ]; then
@@ -99,13 +94,6 @@ else
9994
do_ubuntu
10095
fi
10196

102-
# masl is needed for the sasl-xoauth2-tool.
103-
PIP=pip
104-
if command -v pip3 > /dev/null 2>&1; then
105-
PIP=pip3
106-
fi
107-
$PIP install --break-system-packages msal
108-
10997
# Some services (eg. cron) will complain if this file does not exists, even if it's empty.
11098
# The file is usually generated by update-locales, which is ran automatically when you do
11199
# `apt-get install locales`. So instead of adding another package, which at the moment we

0 commit comments

Comments
 (0)