mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
use PPA for Rspamd
This commit is contained in:
parent
cf0bf59698
commit
1861718cc1
|
@ -22,6 +22,9 @@ All notable changes to this project will be documented in this file. The format
|
|||
- updated note about Rspamd on ARM64 lacking behind in version
|
||||
- **Internal:**
|
||||
- Postfix configures `virtual_mailbox_maps` and `virtual_transport` during startup instead of using defaults (configured for Dovecot) via our `main.cf` ([#3681](https://github.com/docker-mailserver/docker-mailserver/pull/3681))
|
||||
- `packages.sh` now uses `/etc/os-release` to determine the release name of Debian
|
||||
- removed custom installations of Fail2Ban, getmail6 and Rspamd
|
||||
- use official Rspamd PPA on AMD64; no PPA is used on ARM64
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -31,6 +31,13 @@ function _pre_installation_steps() {
|
|||
)
|
||||
apt-get "${QUIET}" install --no-install-recommends "${EARLY_PACKAGES[@]}" 2>/dev/null
|
||||
|
||||
_log 'trace' 'Adding Rspamd PPA'
|
||||
curl -sSfL https://rspamd.com/apt-stable/gpg.key | gpg --dearmor >/etc/apt/trusted.gpg.d/rspamd.gpg
|
||||
echo "deb [signed-by=/etc/apt/trusted.gpg.d/rspamd.gpg] http://rspamd.com/apt-stable/ ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/rspamd.list
|
||||
|
||||
_log 'trace' 'Updating package index after adding PPAs'
|
||||
apt-get "${QUIET}" update
|
||||
|
||||
_log 'trace' 'Upgrading packages'
|
||||
apt-get "${QUIET}" upgrade
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue