mail (15)
Published 2026-05-06 21:49:18 +10:00 by Zi Gao
Installation
docker pull git.mightycastle.net/zimgao/mail:15sha256:1211faaa9cd68c4a493a0568218899d8d8218ea61d14e9d90a2f6224c811e53fImage layers
| add root layout |
| mount /out from exec sh -c /install amd64 |
| add users and groups |
| add metadata |
| LABEL maintainer=Zi Gao<zi@mightycastle.net> |
| LABEL version=15 |
| RUN /bin/sh -c set -eux; apk add --no-cache dovecot dovecot-lmtpd dovecot-ldap dovecot-fts-flatcurve postfix postfix-ldap rspamd procps zstd; if [ -f /etc/postfix/postfix-files ]; then sed -i 's|^\$manpage_directory|# &|' /etc/postfix/postfix-files; fi # buildkit |
| COPY data / # buildkit |
| RUN /bin/sh -c set -eux; echo "zi@gao.id.au" > /root/.forward; chmod 644 /root/.forward; postmap /etc/postfix/virtual; chown root:root /etc/dovecot/*; chmod 0600 /etc/dovecot/*; chown root:root /etc/rspamd/local.d/*; chmod 0644 /etc/rspamd/local.d/*; chmod 777 /tmp; touch /var/lib/rspamd/stats.ucl; chown rspamd:rspamd /var/lib/rspamd/stats.ucl; # buildkit |
| RUN /bin/sh -c set -eux; doveconf 1; # buildkit |
| WORKDIR /root |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| com.docker.dhi.chain-id | sha256:037135c02326900b197084e5147b215ac66f5fc1eaff4f7f0d4de5652eb5b95b |
| com.docker.dhi.compliance | cis |
| com.docker.dhi.created | 2026-02-27T13:24:20Z |
| com.docker.dhi.date.end-of-life | 2027-11-01 |
| com.docker.dhi.date.release | 2025-12-04 |
| com.docker.dhi.definition | image/alpine-base/alpine-3.23/3.23-dev |
| com.docker.dhi.distro | alpine-3.23 |
| com.docker.dhi.entitlement | public |
| com.docker.dhi.flavor | |
| com.docker.dhi.name | dhi/alpine-base |
| com.docker.dhi.package-manager | apk |
| com.docker.dhi.shell | busybox |
| com.docker.dhi.title | Alpine 3.23 Base (dev) |
| com.docker.dhi.url | https://dhi.io/catalog/alpine-base |
| com.docker.dhi.variant | dev |
| com.docker.dhi.version | 3.23-alpine3.23-dev |
| maintainer | Zi Gao<zi@mightycastle.net> |
| version | 15 |