rspamd: v3.5 build 2, move to AlmaLinux 9
This commit is contained in:
parent
a7a5c5e5f0
commit
f3b5a9ac3d
@ -1,22 +1,26 @@
|
|||||||
FROM almalinux:8
|
FROM almalinux:9
|
||||||
|
|
||||||
RUN useradd -m -s /bin/false vmail
|
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 \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum
|
&& 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 \
|
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 opendmarc \
|
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 \
|
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
|
||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum
|
&& 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 \
|
&& rpm --import https://rspamd.com/rpm/gpg.key \
|
||||||
&& dnf install -y rspamd-3.5 \
|
&& dnf install -y rspamd-3.5 \
|
||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum
|
&& rm -rf /var/cache/yum \
|
||||||
|
&& update-crypto-policies --set DEFAULT
|
||||||
|
|
||||||
EXPOSE 11332
|
EXPOSE 11332
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
VERSION=3.5-1
|
VERSION=3.5-2
|
||||||
IMAGE=rspamd
|
IMAGE=rspamd
|
||||||
REGISTRY=gitea.geekhome.org/ghp
|
REGISTRY=gitea.geekhome.org/ghp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user