Hardened Stalwart Mail Server: 14-file scratch image, non-root, Landlock + seccomp, signed
4.1K
A hardened, minimal image of Stalwart Mail Server, built from source from the exact commit Stalwart's own release pipeline signed. Same features, ports, paths, uid and configuration as upstream, with no line of Stalwart's source changed. The official image is 227 MB and 3,029 files; this one is about 133 MB and 14 files: one static binary on scratch, running as a non-root user with no capabilities. A launcher applies Landlock filesystem, network and IPC rules and a seccomp filter before the server starts. Amd64 and arm64. Read the README's "What is different from the official image" before switching.
Images are rebuilt daily, published only when their contents change, and signed with cosign; each gets GitLab release notes generated from its SBOM. Follow a release tag such as X.Y.Z and move to the next release when you choose to: it picks up rebuilds until a newer release appears. Pin X.Y.Z_<hash> for an exact image that never moves. X.Y, X and latest cross upstream releases unattended, which upstream's history makes unsafe for a mail server.
Content type
Image
Digest
sha256:a937a509f…
Size
52.8 MB
Last updated
about 22 hours ago
docker pull grepular/stalwart-trimmedPulls:
819
Nov 2 to Nov 8