containers/dovecot (2024-12-19_17-36-31)
Published 2024-12-19 22:36:40 +00:00 by michael
Installation
docker pull code.balsillie.net/michael/containers/dovecot:2024-12-19_17-36-31
sha256:34eb1a8f21dec8631068a93f4b87e7ae14aded65c42558c452d25c15e504c47f
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/ /etc/dovecot/ # buildkit |
RUN /bin/sh -c chown -R mail:mail /etc/dovecot && mkdir /run/dovecot /cert /dh && chown mail:mail /run/dovecot /cert /dh # 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
2024-12-19 22:36:40 +00:00
Versions (5)
View all
Container
1
OCI / Docker
linux/amd64
dovecot@dovecot.org
41 MiB
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