mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-03-04 02:23:09 +08:00
Fix: Remove python pre-installation as SASL building fails in that case
This commit is contained in:
parent
92f514b647
commit
3b2d8db991
1 changed files with 1 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue