containers/dovecot (2024-12-29_17-54-32)

Published 2024-12-29 22:54:32 +00:00 by michael

Installation

docker pull code.balsillie.net/michael/containers/dovecot:2024-12-29_17-54-32
sha256:1de628c09c3f661eb939104ac193714203e2dbaab8b91f3f9028af8215eaf6d5

Image Layers

ADD file:8b272f437a81ca538a72714301aab84c945a2ff3829fd205d401f488514d36a9 in /
CMD ["bash"]
LABEL org.opencontainers.image.authors=dovecot@dovecot.org
ENV container=docker LC_ALL=C
ARG DEBIAN_FRONTEND=noninteractive
ADD dovecot.gpg /etc/apt/keyrings/dovecot.gpg # buildkit
ADD dovecot.list /etc/apt/sources.list.d # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -y update && apt-get -y install tini dovecot-core dovecot-gssapi dovecot-imapd dovecot-ldap dovecot-lmtpd dovecot-lua dovecot-managesieved dovecot-mysql dovecot-pgsql dovecot-pop3d dovecot-sieve dovecot-solr dovecot-sqlite dovecot-submissiond ca-certificates ssl-cert && rm -rf /var/lib/apt/lists && groupadd -g 1000 vmail && useradd -u 1000 -g 1000 vmail -d /srv/vmail && passwd -l vmail && rm -rf /etc/dovecot && mkdir /srv/mail && chown vmail:vmail /srv/mail && make-ssl-cert generate-default-snakeoil && mkdir /etc/dovecot && ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/dovecot/cert.pem && ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/dovecot/key.pem # buildkit
ADD dovecot.conf /etc/dovecot/dovecot.conf # buildkit
EXPOSE map[24/tcp:{}]
EXPOSE map[110/tcp:{}]
EXPOSE map[143/tcp:{}]
EXPOSE map[587/tcp:{}]
EXPOSE map[990/tcp:{}]
EXPOSE map[993/tcp:{}]
EXPOSE map[4190/tcp:{}]
VOLUME [/etc/dovecot /srv/mail]
ENTRYPOINT ["/usr/bin/tini" "--"]
CMD ["/usr/sbin/dovecot" "-F"]
COPY --chown=mail:mail start.sh / # buildkit
COPY --chown=mail:mail templates/ /templates/ # buildkit
COPY config/ /config/ # buildkit
RUN /bin/sh -c mkdir /run/dovecot /cert /dh && chown mail:mail /config /cert /dh /run/dovecot # buildkit
VOLUME [/cert]
VOLUME [/dh]
EXPOSE map[10993/tcp:{}]
USER mail
CMD ["/start.sh"]

Labels

Key Value
org.opencontainers.image.authors dovecot@dovecot.org
Details
Container
2024-12-29 22:54:32 +00:00
1
OCI / Docker
linux/amd64
dovecot@dovecot.org
41 MiB
Versions (5) View all
latest 2024-12-29
2024-12-29_17-54-32 2024-12-29
2024-12-19_17-56-18 2024-12-19
2024-12-19_17-44-54 2024-12-19
2024-12-19_17-36-31 2024-12-19