mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-03 21:14:26 +08:00
Fix: Use libcurl4t64
where available, otherwise use libcurl4
.
This commit is contained in:
parent
1fcc02381e
commit
8a5aed21e8
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@ do_ubuntu() {
|
||||||
apt-get install -y libsasl2-modules sasl2-bin
|
apt-get install -y libsasl2-modules sasl2-bin
|
||||||
apt-get install -y postfix postfix-pcre postfix-ldap
|
apt-get install -y postfix postfix-pcre postfix-ldap
|
||||||
apt-get install -y opendkim
|
apt-get install -y opendkim
|
||||||
apt-get install -y ca-certificates tzdata supervisor rsyslog bash opendkim-tools curl libcurl4t64 libjsoncpp25 sasl2-bin postfix-lmdb procps logrotate cron net-tools colorized-logs netcat-openbsd ${RELEASE_SPECIFIC_PACKAGES}
|
local libcurl="libcurl4"
|
||||||
|
if "$(apt-cache search --names-only '^libcurl4t64$')" != ""; then
|
||||||
|
libcurl="libcurl4t64"
|
||||||
|
fi
|
||||||
|
apt-get install -y ca-certificates tzdata supervisor rsyslog bash opendkim-tools curl ${libcurl} libjsoncpp25 sasl2-bin postfix-lmdb procps logrotate cron net-tools colorized-logs netcat-openbsd ${RELEASE_SPECIFIC_PACKAGES}
|
||||||
apt-get clean
|
apt-get clean
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue