Client tool image (bash, ldapsearch, jq, curl) for jobs next to Dovecot. No Dovecot since 3.x.
50K+
A small tool image for jobs that work next to a Dovecot server without running inside it, such as a sync of mailbox ACLs from directory groups through the doveadm HTTP API. It contains no Dovecot.
Based on debian:13-slim, it carries:
bash, coreutils, sed, mawk, findutilsldapsearch and the other ldap-utils, for directory lookupscurl and jq, to talk JSON to the doveadm HTTP APIca-certificates, for LDAPS and HTTPSThe build runs apt-get upgrade, and the latest release tag is rebuilt every
Monday (05:15), so Debian security fixes reach the image without a new
release.
The image runs as uid and gid 1000 by default (the vmail account of the
Dovecot images). It works with a read-only root filesystem, all capabilities
dropped and a writable /tmp.
Up to 2.x this image was a Dovecot server image (on dovecot/dovecot:2.4.x-root
from 2.0, Dovecot 2.3 before). Since 3.0 Dovecot itself runs from the upstream
image dovecot/dovecot without root, and this image only holds the client
tools that the upstream image lacks. Do not use 3.x as a Dovecot server; the
last server image is 2.3.0.
docker run --rm -i --read-only --tmpfs /tmp ricariel/dovecot:<version> bash -s < script.sh
In Kubernetes, run the job with runAsUser: 1000, readOnlyRootFilesystem: true and an emptyDir on /tmp.
tests/run.sh tools builds the image and checks every tool under that
security context (docker or podman, CONTAINER_ENGINE picks one). IMAGE
points the tests at an image that is built already.
Contributions are welcome! Please feel free to submit a pull request. This
project uses pre-commit to enforce code style and quality.
The issue "Security Dashboard" lists the open CVE findings in the image built
here, for every environment that runs it, with checkboxes: open an issue,
ignore, snooze, request a check, start a rebuild. The weekly CVE scan writes
the rows; the workflow .forgejo/workflows/security-dashboard.yaml
(pyrox/actions/security-dashboard) executes a ticked box right away. It needs
the secrets SECURITY_DASHBOARD_TOKEN and SECURITY_DASHBOARD_KEY.
This project is licensed under the MIT License - see the LICENSE file for details.
Content type
Image
Digest
sha256:093f133cb…
Size
43.7 MB
Last updated
4 days ago
docker pull ricariel/dovecot