| ADD almalinux-9-default-amd64.tar.xz / # buildkit |
| CMD ["/bin/bash"] |
| ARG DOVECOT_VERSION |
| ARG DOVECOT_VERSION POSTFIX_VERSION |
| ARG DOVECOT_VERSION POSTFIX_VERSION RSPAMD_VERSION |
| |3 DOVECOT_VERSION=2.3.16 POSTFIX_VERSION=3.5.25 RSPAMD_VERSION=3.13.2 /bin/sh -c useradd -m -s /bin/false vmail |
| |3 DOVECOT_VERSION=2.3.16 POSTFIX_VERSION=3.5.25 RSPAMD_VERSION=3.13.2 /bin/sh -c dnf install -y epel-release dnf-plugins-core && dnf update -y && dnf config-manager --enable crb && dnf clean all && rm -rf /var/cache/yum |
| |3 DOVECOT_VERSION=2.3.16 POSTFIX_VERSION=3.5.25 RSPAMD_VERSION=3.13.2 /bin/sh -c dnf install -y postfix-${POSTFIX_VERSION} postfix-ldap-${POSTFIX_VERSION} postfix-mysql-${POSTFIX_VERSION} postfix-pgsql-${POSTFIX_VERSION} dovecot-${DOVECOT_VERSION} dovecot-pigeonhole-${DOVECOT_VERSION} cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf && dnf clean all && rm -rf /var/cache/yum |
| |3 DOVECOT_VERSION=2.3.16 POSTFIX_VERSION=3.5.25 RSPAMD_VERSION=3.13.2 /bin/sh -c 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-${RSPAMD_VERSION} && dnf clean all && rm -rf /var/cache/yum && update-crypto-policies --set DEFAULT |
| EXPOSE 11332 |
| CMD ["/usr/bin/rspamd", "-f", "--insecure"] |