rspamd: v3.5 build 2, move to AlmaLinux 9

This commit is contained in:
ace 2023-08-01 18:42:57 +03:00
parent a7a5c5e5f0
commit f3b5a9ac3d
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 11 additions and 7 deletions

View File

@ -1,22 +1,26 @@
FROM almalinux:8
FROM almalinux:9
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim opendmarc \
RUN dnf install -y postfix-3.5.9 postfix-ldap-3.5.9 postfix-mysql-3.5.9 postfix-pgsql-3.5.9 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim-2.11.0 opendmarc-1.4.2 \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN curl https://rspamd.com/rpm-stable/centos-8/rspamd.repo > /etc/yum.repos.d/rspamd.repo \
RUN update-crypto-policies --set DEFAULT:SHA1 \
&& curl https://rspamd.com/rpm-stable/centos-9/rspamd.repo > /etc/yum.repos.d/rspamd.repo \
&& rpm --import https://rspamd.com/rpm/gpg.key \
&& dnf install -y rspamd-3.5 \
&& dnf clean all \
&& rm -rf /var/cache/yum
&& rm -rf /var/cache/yum \
&& update-crypto-policies --set DEFAULT
EXPOSE 11332

View File

@ -1,4 +1,4 @@
VERSION=3.5-1
VERSION=3.5-2
IMAGE=rspamd
REGISTRY=gitea.geekhome.org/ghp